From 0b0a4fc8fa7a9bdbcc508f60a1f3279f32c1d26b Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Thu, 22 Nov 2007 19:46:48 +0000 Subject: [PATCH] set a window role so we can identify this dialog generically svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=740202 --- appletbrowser.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/appletbrowser.cpp b/appletbrowser.cpp index c3f3148b1..138cc10b7 100644 --- a/appletbrowser.cpp +++ b/appletbrowser.cpp @@ -219,6 +219,8 @@ AppletBrowser::AppletBrowser(Plasma::Corona * corona, QWidget * parent, Qt::Wind : KDialog(parent, f), m_widget(new AppletBrowserWidget(corona, false, this)) { + winId(); // this is to get us a win id so that the next line doesn't abort on us + setWindowRole("appletbrowser"); init(); }