From cf15fde2aa2bcbb244fdfdc46debf457451079f7 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Wed, 13 Mar 2019 17:53:46 +0800 Subject: Set preset bank correctly in XG mode. Removed High DPI handling code. Good luck to Windows users out there. Skulpture style: dials are no longer blurred if scaled. --- qmidiplayer-desktop/qmpinfowindow.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'qmidiplayer-desktop/qmpinfowindow.cpp') diff --git a/qmidiplayer-desktop/qmpinfowindow.cpp b/qmidiplayer-desktop/qmpinfowindow.cpp index d0f386c..d1485be 100644 --- a/qmidiplayer-desktop/qmpinfowindow.cpp +++ b/qmidiplayer-desktop/qmpinfowindow.cpp @@ -13,8 +13,6 @@ qmpInfoWindow::qmpInfoWindow(QWidget *parent) : ui(new Ui::qmpInfoWindow) { ui->setupUi(this); - int w=size().width(),h=size().height();w=w*(logicalDpiX()/96.);h=h*(logicalDpiY()/96.); - setMinimumWidth(w);setMinimumHeight(h); qmpMainWindow::getInstance()->registerFunctionality( infof=new qmpInfoFunc(this), std::string("FileInfo"), -- cgit v1.2.3