Moved UpdateLocationDialog to be managed by MainWindow.
[situare] / src / ui / userinfopanel.cpp
index c8a1d51..ae8b29c 100644 (file)
@@ -64,21 +64,6 @@ UserInfoPanel::UserInfoPanel(QWidget *parent)
     connect(m_userInfo, SIGNAL(findUser(GeoCoordinate)),
             this, SIGNAL(findUser(GeoCoordinate)));
 
-    connect(m_userInfo,SIGNAL(requestReverseGeo()),
-            this, SIGNAL(requestReverseGeo()));
-
-    connect(m_userInfo, SIGNAL(statusUpdate(QString, bool)),
-            this, SIGNAL(statusUpdate(QString, bool)));
-
-    connect(m_userInfo, SIGNAL(notificateUpdateFailing(QString, bool)),
-             this, SIGNAL(notificateUpdateFailing(QString, bool)));
-
-    connect(this, SIGNAL(reverseGeoReady(QString)),
-            m_userInfo, SIGNAL(reverseGeoReady(QString)));
-
-    connect(this, SIGNAL(clearUpdateLocationDialogData()),
-            m_userInfo, SLOT(clearUpdateLocationDialogData()));
-
     connect(this, SIGNAL(collapse()),
             m_userInfo, SLOT(collapse()));
 
@@ -96,7 +81,7 @@ UserInfoPanel::UserInfoPanel(QWidget *parent)
             this, SIGNAL(refreshUserData()));
 
     connect(updateStatusMessageButton, SIGNAL(clicked()),
-            m_userInfo, SLOT(messageUpdate()));
+            this, SIGNAL(updateLocationMessageButtonClicked()));
 
 }