kstart: remove internal __GNUC__ definition checks

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2021-07-14 20:33:11 +03:00
parent 52d727e57b
commit f238774f26

View file

@ -175,9 +175,7 @@ void KStart::windowAdded(WId w){
return; // no match
}
if ( !windowclass.isEmpty() ) {
#ifdef __GNUC__
#warning "Porting required"
#endif
#if 0
XClassHint hint;
if( !XGetClassHint( QX11Info::display(), w, &hint ))
@ -208,9 +206,7 @@ static bool wstate_withdrawn( WId winid )
{
Q_UNUSED(winid);
#ifdef __GNUC__
#warning "Porting required."
#endif
//Porting info: The Qt4 equivalent for qt_wm_state is qt_x11Data->atoms[QX11Data::WM_STATE]
//which can be accessed via the macro ATOM(WM_STATE). Unfortunately, neither of these seem
//to be exported out of the Qt environment. This value may have to be acquired from somewhere else.