set a window role so we can identify this dialog generically

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=740202
This commit is contained in:
Aaron J. Seigo 2007-11-22 19:46:48 +00:00
parent e4765f3dcd
commit 0b0a4fc8fa

View File

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