[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/apps/dolphin/src
From: Shaun Reich <shaun.reich () kdemail ! net>
Date: 2009-02-22 17:06:16
Message-ID: 1235322376.382879.1507.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 930077 by sreich:
* Remove deprecated use of KTabBar::setCloseButtonEnabled(), use qt-provided \
method-QTabBar::setTabsClosable().
* Enable dragging of tabs thanks to the new feature in Qt 4.5, QTabBar::setMovable(), \
now that the KTabBar has been ported. The dragging is a very neat effect.
BUG: 164313
M +2 -1 dolphinmainwindow.cpp
--- trunk/KDE/kdebase/apps/dolphin/src/dolphinmainwindow.cpp #930076:930077
@@ -894,7 +894,8 @@
m_actionHandler->setCurrentView(view);
m_tabBar = new KTabBar(this);
- m_tabBar->setCloseButtonEnabled(true);
+ m_tabBar->setMovable(true);
+ m_tabBar->setTabsClosable(true);
connect(m_tabBar, SIGNAL(currentChanged(int)),
this, SLOT(setActiveTab(int)));
connect(m_tabBar, SIGNAL(closeRequest(int)),
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic