[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/4.3/kdenetwork/kopete/protocols/oscar/icq
From:       Roman Jarosz <kedgedev () gmail ! com>
Date:       2009-10-31 17:33:18
Message-ID: 1257010398.264907.7507.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1043070 by rjarosz:

Backport commit 1042968.
Don't show user info twice otherwise we will lose pointer to it.

CCBUG: 212475


 M  +7 -0      icqcontact.cpp  


--- branches/KDE/4.3/kdenetwork/kopete/protocols/oscar/icq/icqcontact.cpp #1043069:1043070
@@ -628,6 +628,13 @@
 
 void ICQContact::slotUserInfo()
 {
+	if ( m_infoWidget )
+	{
+		m_infoWidget->showNormal();
+		m_infoWidget->activateWindow();
+		return;
+	}
+
 	m_infoWidget = new ICQUserInfoWidget( this, Kopete::UI::Global::mainWidget() );
 	QObject::connect( m_infoWidget, SIGNAL(finished()), this, SLOT(closeUserInfoDialog()) );
 	QObject::connect( m_infoWidget, SIGNAL(okClicked()), this, SLOT(storeUserInfoDialog()) );
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic