diff options
author | Chris Xiong <chirs241097@gmail.com> | 2016-01-03 23:15:41 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2016-01-03 23:15:41 +0800 |
commit | 84634010422f578b27105bbbaf6b8ee4c1232e86 (patch) | |
tree | 022775f88c94d697bdce0b32ae32698c542b50ca /main.cpp | |
parent | b886aa1fcafc16fe93bfe19e2f63b4089234f9f6 (diff) | |
download | QMidiPlayer-84634010422f578b27105bbbaf6b8ee4c1232e86.tar.xz |
Bad Apple. (WTF)
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(); |