support old qt versions < 5.6

master
Marc Wäckerlin 6 years ago
parent 7bdd4a46fe
commit b513f940df
  1. 2
      src/testgui.hxx

@ -38,7 +38,9 @@ class TestGUI: public QMainWindow, protected Ui::TestGUI {
_inEventFilter(false) {
setWindowTitle("[*]");
setupUi(this);
#if QT_VERSION >= 0x050600
setDockOptions(dockOptions()|QMainWindow::GroupedDragging);
#endif
menuViews->addAction(_setupScriptDock->toggleViewAction());
menuViews->addAction(_scriptCommandsDock->toggleViewAction());
menuViews->addAction(_domDock->toggleViewAction());

Loading…
Cancel
Save