summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Habacker <[email protected]>2015-06-01 13:36:40 +0200
committerRalf Habacker <[email protected]>2015-06-01 13:36:40 +0200
commit9b992019e348b1ae125a4b59c1957b086d56c4c4 (patch)
tree205cbe628e62487b225ca2d306d098b735897289
parent2f89e9ec0e4be3fece8bda6badaf895369b8ba16 (diff)
Merge in Qt5 variant of KPushButton from frameworks branch.
-rw-r--r--umbrello/dialogs/pages/constraintlistpage.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/umbrello/dialogs/pages/constraintlistpage.cpp b/umbrello/dialogs/pages/constraintlistpage.cpp
index 138c434..9d9eb2b 100644
--- a/umbrello/dialogs/pages/constraintlistpage.cpp
+++ b/umbrello/dialogs/pages/constraintlistpage.cpp
@@ -30,10 +30,15 @@
#include <kdialogbuttonbox.h>
#include <KLocalizedString>
#include <kmenu.h>
+#if QT_VERSION < 0x050000
#include <kpushbutton.h>
+#endif
#include <QApplication>
#include <QHBoxLayout>
+#if QT_VERSION >= 0x050000
+#include <QPushButton>
+#endif
#include <QVBoxLayout>
/**