From ecd4ae2eef2ed8225adc32d5956827229989c89c Mon Sep 17 00:00:00 2001 From: Szymon Tomasz Stefanek Date: Sat, 9 Oct 2010 02:50:31 +0000 Subject: 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 --- src/modules/options/libkvioptions.cpp | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src/modules') 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; } -- cgit v1.3.1-10-gc9f91