Not necessary anymore.

svn path=/trunk/kdebase/kwin/; revision=333807
This commit is contained in:
Luboš Luňák 2004-07-29 13:26:16 +00:00
parent 6417a92276
commit 7aac7625a7

View file

@ -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();
}