[kde-doc-english] KDE/kdenetwork/kopete/libkopete

Tejas Dinkar tejasdinkar at gmail.com
Wed Mar 25 14:08:31 CET 2009


SVN commit 944342 by dinkar:

The Ask Active Message kills itself after some time
FEATURE: 73605
BUG: 73605
GUI: Changed kopete/kopete/config/behavior/behaviorconfig_away.ui

 M  +3 -0      kopetestatusmanager.cpp  


--- trunk/KDE/kdenetwork/kopete/libkopete/kopetestatusmanager.cpp #944341:944342
@@ -353,6 +353,9 @@
 	// If yes is clicked, go online
 	connect(dialog, SIGNAL(yesClicked()), this, SLOT(setActive()));
 
+	// If the user does not click something by the time we go away, kill the dialog
+	QTimer::singleShot(Kopete::BehaviorSettings::self()->autoAwayTimeout() * 1000, dialog, SLOT(close()));
+
 	// Show the Dialog
 	dialog->show();
 }



More information about the kde-doc-english mailing list