Do not confirm closing kopete group chat when account is offline

(cherry picked from commit e11825984f)
v3.5.13-sru
Slávek Banko 12 years ago
parent 735cab429b
commit fdb127fe09

@ -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 );

Loading…
Cancel
Save