diff options
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -1,15 +1,11 @@ #include "qmpmainwindow.hpp" #include <QApplication> #include <QStyle> -#include <QDesktopWidget> int main(int argc, char *argv[]) { QApplication a(argc,argv); qmpMainWindow w; - w.setGeometry(QStyle::alignedRect( - Qt::LeftToRight,Qt::AlignCenter,w.size(), - qApp->desktop()->availableGeometry())); w.show(); return a.exec(); |