[rkward-cvs] SF.net SVN: rkward:[2421] trunk/rkward/rkward/settings/ rksettingsmoduleplugins.cpp
tfry at users.sourceforge.net
tfry at users.sourceforge.net
Sat Mar 28 16:16:49 UTC 2009
Revision: 2421
http://rkward.svn.sourceforge.net/rkward/?rev=2421&view=rev
Author: tfry
Date: 2009-03-28 16:16:47 +0000 (Sat, 28 Mar 2009)
Log Message:
-----------
Be more active about setting a default pluginmap.
Modified Paths:
--------------
trunk/rkward/rkward/settings/rksettingsmoduleplugins.cpp
Modified: trunk/rkward/rkward/settings/rksettingsmoduleplugins.cpp
===================================================================
--- trunk/rkward/rkward/settings/rksettingsmoduleplugins.cpp 2009-03-28 16:15:51 UTC (rev 2420)
+++ trunk/rkward/rkward/settings/rksettingsmoduleplugins.cpp 2009-03-28 16:16:47 UTC (rev 2421)
@@ -170,7 +170,10 @@
RK_TRACE (SETTINGS);
KConfigGroup cg = config->group ("Plugin Settings");
- plugin_maps = cg.readEntry ("Plugin Maps", QStringList (RKCommonFunctions::getRKWardDataDir () + "/all.pluginmap"));
+ plugin_maps = cg.readEntry ("Plugin Maps", QStringList ());
+ if (plugin_maps.isEmpty ()) {
+ plugin_maps.append (RKCommonFunctions::getRKWardDataDir () + "/all.pluginmap");
+ }
interface_pref = static_cast<PluginPrefs> (cg.readEntry ("Interface Preferences", static_cast<int> (PreferRecommended)));
show_code = cg.readEntry ("Code display default", true);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the rkward-tracker
mailing list