Added missing signal connection.
authorJussi Laitinen (laitiju-local) <laitiju-local@czc74537km.ixonos.local>
Thu, 18 Nov 2010 08:07:10 +0000 (10:07 +0200)
committerJussi Laitinen (laitiju-local) <laitiju-local@czc74537km.ixonos.local>
Thu, 18 Nov 2010 08:07:10 +0000 (10:07 +0200)
src/engine/engine.cpp
src/ui/mainwindow.cpp

index de6692a..aab43d4 100644 (file)
@@ -842,9 +842,6 @@ void SituareEngine::signalsFromSituareService()
             this, SLOT(userDataChanged(User*, QList<User*>&)));
 
     connect(m_situareService, SIGNAL(updateWasSuccessful(SituareService::SuccessfulMethod)),
-            m_ui, SIGNAL(clearUpdateLocationDialogData()));
-
-    connect(m_situareService, SIGNAL(updateWasSuccessful(SituareService::SuccessfulMethod)),
             this, SLOT(updateWasSuccessful(SituareService::SuccessfulMethod)));
 
     connect(m_situareService, SIGNAL(interestingPeopleReceived(QList<User>&,QList<User>&)),
index 843a430..91258c6 100644 (file)
@@ -540,6 +540,9 @@ void MainWindow::buildUserInfoPanel()
     connect(m_userInfoPanel, SIGNAL(refreshUserData()),
             this, SIGNAL(refreshUserData()));
 
+    connect(m_userInfoPanel, SIGNAL(updateLocationMessageButtonClicked()),
+            this, SLOT(showUpdateLocationDialog()));
+
     connect(this, SIGNAL(userImageReady(QString,QPixmap)),
             m_userInfoPanel, SLOT(setImage(QString,QPixmap)));