the ui load can return a null pointer, so guard against that
svn path=/branches/KDE/4.4/kdelibs/; revision=1084626
This commit is contained in:
parent
978d127094
commit
3f52ba3c9f
@ -1734,7 +1734,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…
Reference in New Issue
Block a user