[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/4.5/kdenetwork/krdc
From: Tony Murray <murraytony () gmail ! com>
Date: 2010-12-18 17:18:18
Message-ID: 20101218171818.79FBAAC8A8 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1207584 by murrant:
Backport r1207583 by murrant from trunk to the 4.5 branch:
Check if the widget being closed is the new connection page, instead of the current widget.
CCBUG: 255731
M +1 -1 mainwindow.cpp
--- branches/KDE/4.5/kdenetwork/krdc/mainwindow.cpp #1207583:1207584
@@ -603,7 +603,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