diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2010-04-18 13:59:11 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2010-04-18 13:59:11 (GMT) |
commit | 85b3296309775195f499c1ae43ad2575379a1e55 (patch) | |
tree | 5a45c08fe6f9334d87e18a8b8271d2c8cbb71e93 /addon/doxywizard/expert.cpp | |
parent | 707831ea739af5ae137c9cc1d04e3ffbbde11a6a (diff) | |
download | Doxygen-85b3296309775195f499c1ae43ad2575379a1e55.zip Doxygen-85b3296309775195f499c1ae43ad2575379a1e55.tar.gz Doxygen-85b3296309775195f499c1ae43ad2575379a1e55.tar.bz2 |
Release-1.6.3-20100418
Diffstat (limited to 'addon/doxywizard/expert.cpp')
-rw-r--r-- | addon/doxywizard/expert.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/addon/doxywizard/expert.cpp b/addon/doxywizard/expert.cpp index 9b665ca..e328ef0 100644 --- a/addon/doxywizard/expert.cpp +++ b/addon/doxywizard/expert.cpp @@ -321,9 +321,9 @@ void Expert::loadSettings(QSettings *s) { i.next(); QVariant var = s->value(SA("config/")+i.key()); - //printf("Loading key %s: type=%d\n",qPrintable(i.key()),var.type()); if (i.value()) { + //printf("Loading key %s: type=%d value='%s'\n",qPrintable(i.key()),var.type(),qPrintable(var.toString())); i.value()->value() = var; i.value()->update(); } @@ -336,9 +336,10 @@ void Expert::saveSettings(QSettings *s) while (i.hasNext()) { i.next(); + //printf("Saving key %s: type=%d value='%s'\n",qPrintable(i.key()),i.value()->value().type(),qPrintable(i.value()->value().toString())); if (i.value()) { - s->value(SA("config/")+i.key(),i.value()->value()); + s->setValue(SA("config/")+i.key(),i.value()->value()); } } } |