aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2016-01-03 23:15:41 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2016-01-03 23:15:41 +0800
commit84634010422f578b27105bbbaf6b8ee4c1232e86 (patch)
tree022775f88c94d697bdce0b32ae32698c542b50ca /main.cpp
parentb886aa1fcafc16fe93bfe19e2f63b4089234f9f6 (diff)
downloadQMidiPlayer-84634010422f578b27105bbbaf6b8ee4c1232e86.tar.xz
Bad Apple. (WTF)
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/main.cpp b/main.cpp
index 7e24b69..a2c703a 100644
--- a/main.cpp
+++ b/main.cpp
@@ -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();