diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2012-08-25 04:14:27 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-08-25 04:14:27 +0200 |
commit | e11825984f38bfdb98698aee17916e618761fcc9 (patch) | |
tree | 6d73a2476b6fce6b475f5a216aa16e9619cb5899 | |
parent | d573a253c1ba45b5e56f7bc25c8242f797a204e4 (diff) | |
download | tdenetwork-e11825984f38bfdb98698aee17916e618761fcc9.tar.gz tdenetwork-e11825984f38bfdb98698aee17916e618761fcc9.zip |
Do not confirm closing kopete group chat when account is offline
-rw-r--r-- | kopete/kopete/chatwindow/chatview.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kopete/kopete/chatwindow/chatview.cpp b/kopete/kopete/chatwindow/chatview.cpp index 4f356690..52ed7fb7 100644 --- a/kopete/kopete/chatwindow/chatview.cpp +++ b/kopete/kopete/chatwindow/chatview.cpp @@ -347,7 +347,8 @@ bool ChatView::closeView( bool force ) if ( !force ) { - if ( m_manager->members().count() > 1 ) + if ( m_manager->members().count() > 1 && + m_manager->account()->isConnected() ) { TQString shortCaption = d->captionText; shortCaption = KStringHandler::rsqueeze( shortCaption ); |