Not necessary anymore.
svn path=/trunk/kdebase/kwin/; revision=333807
This commit is contained in:
parent
6417a92276
commit
7aac7625a7
1 changed files with 0 additions and 7 deletions
|
@ -21,7 +21,6 @@
|
|||
#include <kapplication.h>
|
||||
#include <klocale.h>
|
||||
#include <kdebug.h>
|
||||
#include <kxerrorhandler.h>
|
||||
#include <kwin.h>
|
||||
#include <qlabel.h>
|
||||
#include <qradiobutton.h>
|
||||
|
@ -62,7 +61,6 @@ void DetectDialog::readWindow( WId w )
|
|||
emit detectionDone( false );
|
||||
return;
|
||||
}
|
||||
KXErrorHandler err;
|
||||
KWin::WindowInfo info = KWin::windowInfo( w,
|
||||
NET::WMName | NET::WMWindowType,
|
||||
NET::WM2WindowClass | NET::WM2WindowRole | NET::WM2ClientMachine );
|
||||
|
@ -80,11 +78,6 @@ void DetectDialog::readWindow( WId w )
|
|||
title = info.name();
|
||||
extrarole = ""; // TODO
|
||||
machine = info.clientMachine();
|
||||
if( err.error( true ))
|
||||
{
|
||||
emit detectionDone( false );
|
||||
return;
|
||||
}
|
||||
executeDialog();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue