diff --git a/scripting/appletscript.cpp b/scripting/appletscript.cpp index ecdd03de3..fb7e20ded 100644 --- a/scripting/appletscript.cpp +++ b/scripting/appletscript.cpp @@ -143,10 +143,9 @@ KConfigDialog *AppletScript::standardConfigurationDialog() void AppletScript::addStandardConfigurationPages(KConfigDialog *dialog) { if (applet()) { - return applet()->d->addGlobalShortcutsPage(dialog); + applet()->d->addGlobalShortcutsPage(dialog); } - return 0; } void AppletScript::configChanged()