Log In
New Account
  
Home My Page Project Cloud Code Snippets Project Openings Jenirok
Summary Tracker SCM Files
authoreshe <jessehakanen@gmail.com>
Wed, 16 Jun 2010 18:14:14 +0000 (19:14 +0100)
committereshe <jessehakanen@gmail.com>
Wed, 16 Jun 2010 18:14:14 +0000 (19:14 +0100)
src/daemon/calllistener.cpp
src/gui/settingsdialog.cpp

index 343ecf7..5e2dd75 100644 (file)
@@ -48,6 +48,7 @@ retries_(-1), timer_(0)
 CallListener::~CallListener()
 {
     end();
+    DB::removeDatabase();
 }
 
 bool CallListener::begin()
@@ -276,7 +277,7 @@ void CallListener::callTerminate()
 {
     if(box_ && box_->isVisible())
     {
-        box_->close();
+        box_->hide();
     }
 
     searchClose();
@@ -333,6 +334,11 @@ void CallListener::searchInit()
 
 void CallListener::searchClose()
 {
+    if(!initialized_)
+    {
+        return;
+    }
+
     initialized_ = false;
 
     qDebug() << "Closing search...";
index 9c40744..70b783d 100644 (file)
@@ -163,7 +163,6 @@ void SettingsDialog::saveSettings()
     Settings::instance()->set("autostart", autostart);
     QString connection = connectionSelector_->value().toString();
     Settings::instance()->set("connection", connection);
-    Settings::instance()->set("connection_name", connectionSelector_->text());
     QString language = languageSelector_->value().toString();
     Settings::instance()->set("language", language);
     sourceConfig_->save();

Terms of Use    Privacy Policy    Contribution Guidelines    Feedback

Powered By GForge Collaborative Development Environment