summaryrefslogtreecommitdiff
path: root/src/plugins/qt4projectmanager/qt-maemo/maemodeviceconfigurations.cpp
diff options
context:
space:
mode:
authorck <qt-info@nokia.com>2009-12-10 17:34:22 +0100
committerck <qt-info@nokia.com>2009-12-10 17:34:22 +0100
commit0e3ee9c7b20a63eeb66f886eee66ba3a819af344 (patch)
tree3435f6ad40b84fa6236b34881f05582d68778e8a /src/plugins/qt4projectmanager/qt-maemo/maemodeviceconfigurations.cpp
parent57634ab2d1eeda09a19e77c3f52e4624e2be7229 (diff)
downloadqt-creator-0e3ee9c7b20a63eeb66f886eee66ba3a819af344.tar.gz
Maemo: Hide password-related GUI elements.
Diffstat (limited to 'src/plugins/qt4projectmanager/qt-maemo/maemodeviceconfigurations.cpp')
-rw-r--r--src/plugins/qt4projectmanager/qt-maemo/maemodeviceconfigurations.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/qt4projectmanager/qt-maemo/maemodeviceconfigurations.cpp b/src/plugins/qt4projectmanager/qt-maemo/maemodeviceconfigurations.cpp
index 1f527e6153..872e45d3f6 100644
--- a/src/plugins/qt4projectmanager/qt-maemo/maemodeviceconfigurations.cpp
+++ b/src/plugins/qt4projectmanager/qt-maemo/maemodeviceconfigurations.cpp
@@ -146,6 +146,7 @@ void MaemoDeviceConfigurations::save()
{
QSettings *settings = Core::ICore::instance()->settings();
settings->beginGroup(SettingsGroup);
+ qDebug("Writing next id: %llu", m_nextId);
settings->setValue(IdCounterKey, m_nextId);
settings->beginWriteArray(ConfigListKey, m_devConfigs.count());
for (int i = 0; i < m_devConfigs.count(); ++i) {
@@ -166,8 +167,9 @@ MaemoDeviceConfigurations::MaemoDeviceConfigurations(QObject *parent)
void MaemoDeviceConfigurations::load()
{
QSettings *settings = Core::ICore::instance()->settings();
- m_nextId = settings->value(IdCounterKey, 1).toULongLong();
settings->beginGroup(SettingsGroup);
+ m_nextId = settings->value(IdCounterKey, 1).toULongLong();
+ qDebug("Read next id: %llu", m_nextId);
int count = settings->beginReadArray(ConfigListKey);
for (int i = 0; i < count; ++i) {
settings->setArrayIndex(i);