[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdenetwork/krdc
From: Urs Wolfer <uwolfer () kde ! org>
Date: 2012-12-30 15:47:55
Message-ID: 20121230154755.EE3E4AC86A () svn ! kde ! org
[Download RAW message or body]
SVN commit 1330194 by uwolfer:
fix crashes releated to open a new connection while another connection is still in process
BUGS: 211515, 296525, 225694, 242586
M +2 -2 mainwindow.cpp
--- trunk/KDE/kdenetwork/krdc/mainwindow.cpp #1330193:1330194
@@ -436,7 +436,7 @@
if (status == RemoteView::Disconnecting || status == RemoteView::Disconnected)
return;
- RemoteView *view = m_remoteViewList.at(m_currentRemoteView);
+ RemoteView *view = qobject_cast<RemoteView*>(QObject::sender());
const QString host = view->host();
QString iconName = "krdc";
@@ -479,7 +479,7 @@
break;
}
- m_tabWidget->setTabIcon(m_tabWidget->currentIndex(), KIcon(iconName));
+ m_tabWidget->setTabIcon(m_tabWidget->indexOf(view), KIcon(iconName));
if (Settings::showStatusBar())
statusBar()->showMessage(message);
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic