Qt 5.13 update

This commit is contained in:
Gary Talent 2019-06-19 18:56:57 -05:00
parent d6fe3874c0
commit 9d1312e22a

View File

@ -12,6 +12,7 @@
#include <QDesktopWidget>
#include <QHBoxLayout>
#include <QMenuBar>
#include <QScreen>
#include <QSettings>
#include <QSplitter>
@ -20,7 +21,7 @@
MainWindow::MainWindow() {
setWindowTitle(tr("Bullock"));
auto screenSize = QApplication::desktop()->screenGeometry();
auto screenSize = QGuiApplication::screens().first()->geometry();
constexpr auto sizePct = 0.85;
resize(screenSize.width() * sizePct, screenSize.height() * sizePct);
move(-x(), -y());