[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/kst/portto4/kst/src/libkstapp
From: Nicolas Brisset <nicolas.brisset () eurocopter ! com>
Date: 2010-08-25 7:57:12
Message-ID: 20100825080008.5D1AAAC857 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1167742 by brisset:
Use Qt's built-in support for moving tabs, introduced in version 4.5.
BUG: 248887
M +3 -0 tabwidget.cpp
--- branches/work/kst/portto4/kst/src/libkstapp/tabwidget.cpp #1167741:1167742
@@ -26,6 +26,9 @@
tabBar()->setContextMenuPolicy(Qt::CustomContextMenu);
connect(tabBar(), SIGNAL(customContextMenuRequested(const QPoint&)), this, \
SLOT(contextMenu(const QPoint&))); _cnt = 0;
+ #if QT_VERSION >= 0x040500
+ tabBar()->setMovable(true);
+ #endif
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic