aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/desktop-plugins/NewDP.h
diff options
context:
space:
mode:
Diffstat (limited to 'lumina-desktop/desktop-plugins/NewDP.h')
-rw-r--r--lumina-desktop/desktop-plugins/NewDP.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lumina-desktop/desktop-plugins/NewDP.h b/lumina-desktop/desktop-plugins/NewDP.h
index 0e225cb9..83d035d5 100644
--- a/lumina-desktop/desktop-plugins/NewDP.h
+++ b/lumina-desktop/desktop-plugins/NewDP.h
@@ -25,7 +25,8 @@ public:
plug = new SamplePlugin(parent, plugin);
}else if(plugin.section("---",0,0)=="calendar"){
plug = new CalendarPlugin(parent, plugin);
- }else if(plugin.section("---",0,0)=="applauncher"){
+ }else if(plugin.section("---",0,0).section("::",0,0)=="applauncher"){
+ //This plugin can be pre-initialized to a file path after the "::" delimiter
plug = new AppLauncherPlugin(parent, plugin);
}else{
qWarning() << "Invalid Desktop Plugin:"<<plugin << " -- Ignored";
bgstack15