Browse Source

Fix strict build for >= or < qt 5.15

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.2.0
falkTX 4 years ago
parent
commit
c6bd01d3d8
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      source/bridges-ui/CarlaBridgeToolkitQt.cpp

+ 4
- 0
source/bridges-ui/CarlaBridgeToolkitQt.cpp View File

@@ -91,7 +91,11 @@ public:

fApp = new QApplication(qargc, qargv);

#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0)
fWindow = new QMainWindow(nullptr);
#else
fWindow = new QMainWindow(nullptr, nullptr);
#endif
fWindow->resize(30, 30);
fWindow->hide();



Loading…
Cancel
Save