summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/rbsettings.cpp
diff options
context:
space:
mode:
authorDominik Wenger <domonoky@googlemail.com>2008-01-30 19:46:02 +0000
committerDominik Wenger <domonoky@googlemail.com>2008-01-30 19:46:02 +0000
commit2d98607b360a6ed83137a906c8c4c194024fe819 (patch)
tree8ee063521234f137471245802182dcee3a91a1d7 /rbutil/rbutilqt/rbsettings.cpp
parent8e5ba8305992f5a4addbf28790ce4a5dcf012ce1 (diff)
downloadrockbox-2d98607b360a6ed83137a906c8c4c194024fe819.tar.gz
rockbox-2d98607b360a6ed83137a906c8c4c194024fe819.tar.bz2
rockbox-2d98607b360a6ed83137a906c8c4c194024fe819.zip
rbutil: fix a bug in rbsettings: FS#8512 by Sander Knopper. Also remove a warning in encodersgui.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16185 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/rbsettings.cpp')
-rw-r--r--rbutil/rbutilqt/rbsettings.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/rbsettings.cpp b/rbutil/rbutilqt/rbsettings.cpp
index 2dd19965b9..c4b33ce299 100644
--- a/rbutil/rbutilqt/rbsettings.cpp
+++ b/rbutil/rbutilqt/rbsettings.cpp
@@ -32,13 +32,13 @@ void RbSettings::open()
if(config.isFile())
{
userSettings = new QSettings(qApp->applicationDirPath() + "/RockboxUtility.ini",
- QSettings::IniFormat, 0);
+ QSettings::IniFormat, this);
qDebug() << "config: portable";
}
else
{
userSettings = new QSettings(QSettings::IniFormat,
- QSettings::UserScope, "rockbox.org", "RockboxUtility");
+ QSettings::UserScope, "rockbox.org", "RockboxUtility",this);
qDebug() << "config: system";
}
}