|
@@ -1,14 +1,8 @@
|
|
|
-#include <QDebug>
|
|
|
-
|
|
|
#include <QGuiApplication>
|
|
|
#include <QScreen>
|
|
|
#include <QWidget>
|
|
|
#include <QMenuBar>
|
|
|
#include <QFileDialog>
|
|
|
-#include <QSizePolicy>
|
|
|
-
|
|
|
-#include <QWidget>
|
|
|
-#include <QHBoxLayout>
|
|
|
|
|
|
#include "MainWindow.hpp"
|
|
|
|
|
@@ -22,8 +16,9 @@ MainWindow::MainWindow ()
|
|
|
|
|
|
QScreen *screen = QGuiApplication::primaryScreen ();
|
|
|
QRect screenGeometry = screen->geometry ();
|
|
|
- int screenHeight = screenGeometry.height () - 200;
|
|
|
int screenWidth = screenGeometry.width () - 200;
|
|
|
+ int screenHeight = screenGeometry.height () - 200;
|
|
|
+
|
|
|
|
|
|
wa = new WorkArea (screenWidth, screenHeight, this);
|
|
|
|