the ui load can return a null pointer, so guard against that
svn path=/trunk/KDE/kdelibs/; revision=1084622
This commit is contained in:
parent
ead4cc9d62
commit
9e9ccc663b
@ -1728,7 +1728,9 @@ void Applet::showConfigurationInterface()
|
||||
QWidget *w = loader.load(&f);
|
||||
f.close();
|
||||
|
||||
dialog->addPage(w, i18n("Settings"), icon(), i18n("%1 Settings", name()));
|
||||
if (w) {
|
||||
dialog->addPage(w, i18n("Settings"), icon(), i18n("%1 Settings", name()));
|
||||
}
|
||||
}
|
||||
|
||||
d->addGlobalShortcutsPage(dialog);
|
||||
|
Loading…
x
Reference in New Issue
Block a user