Removed showContactDialog call from showMessageDialog.
authorJussi Laitinen <jupe@l3l7588.ixonos.local>
Tue, 2 Nov 2010 13:47:07 +0000 (15:47 +0200)
committerJussi Laitinen <jupe@l3l7588.ixonos.local>
Tue, 2 Nov 2010 13:47:07 +0000 (15:47 +0200)
src/engine/engine.cpp
src/ui/meetpeoplepanel.h

index 81dfe47..a265296 100644 (file)
@@ -604,12 +604,7 @@ void SituareEngine::showMessageDialog(const QPair<QString, QString> &receiver)
 {
     qDebug() << __PRETTY_FUNCTION__;
 
-    QString guid = m_contactManager->contactGuid(receiver.first);
-
-    if (!guid.isEmpty())
-        m_ui->showContactDialog(receiver.first);
-    else
-        m_ui->showMessageDialog(receiver);
+    m_ui->showMessageDialog(receiver);
 }
 
 void SituareEngine::signalsFromFacebookAuthenticator()
index a1415a4..6be7c45 100644 (file)
@@ -39,6 +39,11 @@ class MeetPeoplePanel : public PanelBase
 
 public:
     /**
+    * @brief Unit test class
+    */
+    friend class TestMeetPeoplePanel;
+
+    /**
      * @brief Default constructor
      *
      * @param parent