aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/options/libkvioptions.cpp
diff options
context:
space:
mode:
authorGravatar Szymon Tomasz Stefanek2010-10-09 02:50:31 +0000
committerGravatar Szymon Tomasz Stefanek2010-10-09 02:50:31 +0000
commitecd4ae2eef2ed8225adc32d5956827229989c89c (patch)
tree3668084494bab0bfb16d97c3d82f37014250f3b2 /src/modules/options/libkvioptions.cpp
parentAdd file.writeBytes and $file.readBytes(). Fix a buggie in the parameter proc... (diff)
downloadKVIrc-ecd4ae2eef2ed8225adc32d5956827229989c89c.tar.gz
KVIrc-ecd4ae2eef2ed8225adc32d5956827229989c89c.tar.bz2
KVIrc-ecd4ae2eef2ed8225adc32d5956827229989c89c.zip
Remove the "save configuration" menu entry. KVIrc *must* take care of the user's configuration.
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5049 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/options/libkvioptions.cpp')
-rw-r--r--src/modules/options/libkvioptions.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/modules/options/libkvioptions.cpp b/src/modules/options/libkvioptions.cpp
index e8ea29254..24d3b15f2 100644
--- a/src/modules/options/libkvioptions.cpp
+++ b/src/modules/options/libkvioptions.cpp
@@ -52,17 +52,22 @@ extern int g_iOptionWidgetInstances;
@title:
options.save
@short:
- Saves the options to disk
+ Saves the configuration to disk
@syntax:
options.save
@description:
Saves the options to disk; this includes aliases, popups,
- events and user preferences.
+ events and all user preferences. You shouldn't need to
+ call this as KVIrc *should* save the relevant part of
+ configuration when it's changed. However you might want it
+ in a debugging session or when testing an unstable version
+ where crashes are possible.
*/
static bool options_kvs_cmd_save(KviKvsModuleCommandCall *)
{
- g_pApp->saveOptions();
+ //g_pApp->saveOptions();
+ g_pApp->saveConfiguration();
return true;
}