From e11825984f38bfdb98698aee17916e618761fcc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 25 Aug 2012 04:14:27 +0200 Subject: Do not confirm closing kopete group chat when account is offline --- kopete/kopete/chatwindow/chatview.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'kopete') 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 ); -- cgit v1.2.1