summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2016-09-03 19:50:02 (GMT)
committerRalf Habacker <ralf.habacker@freenet.de>2016-09-03 19:50:27 (GMT)
commit6811456a28954ad5d77949f4b8e1f6bc985589f6 (patch)
tree3c8e7ed826eb4445dd7413cec6dcc6b7e199d98d
parente8126809c24240b36418d578dc7248d0495389e5 (diff)
KF5 compile fix.
Thanks to cfeck at kde.org for pointing out. CCBUG:368142
-rw-r--r--umbrello/dialogs/widgets/documentationwidget.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/umbrello/dialogs/widgets/documentationwidget.cpp b/umbrello/dialogs/widgets/documentationwidget.cpp
index e36a0bf..28c107f 100644
--- a/umbrello/dialogs/widgets/documentationwidget.cpp
+++ b/umbrello/dialogs/widgets/documentationwidget.cpp
@@ -15,12 +15,17 @@
#include "umlobject.h"
#include "umlwidget.h"
+#if QT_VERSION < 0x050000
#include <KTabWidget>
+#endif
#include <KTextEdit>
#include <KLocalizedString>
#include <QGroupBox>
#include <QHBoxLayout>
+#if QT_VERSION >= 0x050000
+#include <QTabWidget>
+#endif
DocumentationWidget::DocumentationWidget(UMLObject *o, QWidget *parent) :
QWidget(parent),