aboutsummaryrefslogtreecommitdiff
path: root/qmidiplayer-desktop/qmpinfowindow.cpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2016-09-15 17:07:50 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2016-09-15 17:07:50 +0800
commitd62356c08e23c6971d2996866eb6bdf43000520b (patch)
tree23d30b8e6295df95463a79e81eab447895257ba2 /qmidiplayer-desktop/qmpinfowindow.cpp
parent5ad91b766172fe5ac38fcbe1a2268488d7da5686 (diff)
downloadQMidiPlayer-d62356c08e23c6971d2996866eb6bdf43000520b.tar.xz
Fix FTBFS. Force Qt5 while building.
Diffstat (limited to 'qmidiplayer-desktop/qmpinfowindow.cpp')
-rw-r--r--qmidiplayer-desktop/qmpinfowindow.cpp2
1 files changed, 1 insertions, 1 deletions
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()