Fix a warning and a build error on macOS

See issue #1979.
This commit is contained in:
Martin Kleusberg
2019-08-27 21:54:42 +02:00
parent ad2aa8ca88
commit 2045a4d48f
2 changed files with 2 additions and 2 deletions

View File

@@ -124,7 +124,7 @@ void MainWindow::init()
#ifdef Q_OS_MACX
// Add OpenGL Context for macOS
QOpenGLWidget *ogl = new QOpenGLWidget(this);
ui->horizontalLayout->addWidget(ogl);
ui->verticalLayout->addWidget(ogl);
ogl->setHidden(true);
#endif

View File

@@ -6,7 +6,7 @@
#include <memory>
#include <QMainWindow>
class BrowseDataTableSettings;
struct BrowseDataTableSettings;
class DbStructureModel;
class EditDialog;
class ExtendedTableWidget;