Small fixes
authorTorste Aikio <zokier@zokier.laptop>
Tue, 25 May 2010 13:26:54 +0000 (16:26 +0300)
committerTorste Aikio <zokier@zokier.laptop>
Tue, 25 May 2010 13:26:54 +0000 (16:26 +0300)
src/settingsdlg.cpp
src/settingsdlg.h

index c349dd3..b605923 100644 (file)
@@ -52,6 +52,7 @@ void SettingsDlg::showSelectRemoteDlg()
 
 void SettingsDlg::updateRemoteName()
 {
+    QSettings settings(this);
     selectRemoteBtn->setText(settings.value("remoteName", 
                 tr("Select remote")).toString());
 }
index 90f3ae6..3a549d5 100644 (file)
@@ -15,7 +15,7 @@ public:
     ~SettingsDlg();
 
 public slots:
-    void updateRemoteName;
+    void updateRemoteName();
 
 private slots:
     void showAdvSettingsDlg();