Skip to content

Commit 8182254

Browse files
author
David Graeff
committed
Only use QMainWindow::GroupedDragging if Qt >= 5.6
1 parent 812e83f commit 8182254

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

openhantek/src/mainwindow.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ OpenHantekMainWindow::OpenHantekMainWindow(HantekDsoControl *dsoControl, DataAna
4141
readSettings();
4242

4343
// Create dock windows before the dso widget, they fix messed up settings
44+
#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0))
4445
setDockOptions(dockOptions() | QMainWindow::GroupedDragging);
46+
#endif
4547
createDockWindows();
4648

4749
// Central oszilloscope widget

0 commit comments

Comments
 (0)