[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdenetwork/krdc
From:       Tony Murray <murraytony () gmail ! com>
Date:       2010-12-18 17:17:17
Message-ID: 20101218171717.A720DAC8A8 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1207583 by murrant:

Check if the widget being closed is the new connection page, instead of the current widget.
BUG: 255731


 M  +1 -1      mainwindow.cpp  


--- trunk/KDE/kdenetwork/krdc/mainwindow.cpp #1207582:1207583
@@ -617,7 +617,7 @@
 
 void MainWindow::closeTab(QWidget *widget)
 {
-    bool isNewConnectionPage = m_tabWidget->currentWidget() == m_newConnectionWidget;
+    bool isNewConnectionPage = widget == m_newConnectionWidget;
     const int index = m_tabWidget->indexOf(widget);
 
     kDebug(5010) << index;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic