KDE/kdevplatform/shell
Andreas Pakulat
apaku at gmx.de
Mon Jun 8 15:22:30 UTC 2009
SVN commit 978934 by apaku:
Disable creation of the workingset widget for Qt < 4.5 as we don't have
a place for it in that version. Unfortunately I still get something
displayed in the upper-left corner of the mainwindow, but no idea where
that widget comes from.
David any idea?
CCMAIL:kdevelop-devel at kdevelop.org
M +4 -0 workingsetcontroller.cpp
--- trunk/KDE/kdevplatform/shell/workingsetcontroller.cpp #978933:978934
@@ -294,7 +294,11 @@
}
QWidget* WorkingSetController::createSetManagerWidget(MainWindow* parent, bool local, Sublime::Area* fixedArea) {
+#ifdef QT_VERSION >= 0x040500
return new WorkingSetWidget(parent, this, local, fixedArea);
+#else
+ return 0;
+#endif
}
WorkingSetWidget::WorkingSetWidget(MainWindow* parent, WorkingSetController* controller, bool mini, Sublime::Area* fixedArea) : QWidget(parent), m_mini(mini), m_mainWindow(parent), m_fixedArea(fixedArea) {
More information about the KDevelop-devel
mailing list