diff options
author | Chris Xiong <chirs241097@gmail.com> | 2016-09-15 17:07:50 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2016-09-15 17:07:50 +0800 |
commit | d62356c08e23c6971d2996866eb6bdf43000520b (patch) | |
tree | 23d30b8e6295df95463a79e81eab447895257ba2 /qmidiplayer-desktop | |
parent | 5ad91b766172fe5ac38fcbe1a2268488d7da5686 (diff) | |
download | QMidiPlayer-d62356c08e23c6971d2996866eb6bdf43000520b.tar.xz |
Fix FTBFS. Force Qt5 while building.
Diffstat (limited to 'qmidiplayer-desktop')
-rw-r--r--[-rwxr-xr-x] | qmidiplayer-desktop/qmidiplayer.desktop | 0 | ||||
-rw-r--r-- | qmidiplayer-desktop/qmpinfowindow.cpp | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/qmidiplayer-desktop/qmidiplayer.desktop b/qmidiplayer-desktop/qmidiplayer.desktop index 2884d18..2884d18 100755..100644 --- a/qmidiplayer-desktop/qmidiplayer.desktop +++ b/qmidiplayer-desktop/qmidiplayer.desktop diff --git a/qmidiplayer-desktop/qmpinfowindow.cpp b/qmidiplayer-desktop/qmpinfowindow.cpp index a4afd50..fda94f8 100644 --- a/qmidiplayer-desktop/qmpinfowindow.cpp +++ b/qmidiplayer-desktop/qmpinfowindow.cpp @@ -14,7 +14,7 @@ qmpInfoWindow::qmpInfoWindow(QWidget *parent) : { ui->setupUi(this); int w=size().width(),h=size().height();w=w*(logicalDpiX()/96.);h=h*(logicalDpiY()/96.); - setMaximumWidth(w);setMaximumHeight(h);setMinimumWidth(w);setMinimumHeight(h); + setMinimumWidth(w);setMinimumHeight(h); } qmpInfoWindow::~qmpInfoWindow() |