summaryrefslogtreecommitdiffstats
path: root/addon/doxywizard/expert.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2010-04-18 13:59:11 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2010-04-18 13:59:11 (GMT)
commitadff8506a1c654db63ef362bbc90cddf7c156dd7 (patch)
tree5a45c08fe6f9334d87e18a8b8271d2c8cbb71e93 /addon/doxywizard/expert.cpp
parenteb1cb68e11a3b24222a49ed254f8f7aea2f73bae (diff)
downloadDoxygen-adff8506a1c654db63ef362bbc90cddf7c156dd7.zip
Doxygen-adff8506a1c654db63ef362bbc90cddf7c156dd7.tar.gz
Doxygen-adff8506a1c654db63ef362bbc90cddf7c156dd7.tar.bz2
Release-1.6.3-20100418
Diffstat (limited to 'addon/doxywizard/expert.cpp')
-rw-r--r--addon/doxywizard/expert.cpp5
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());
}
}
}