aboutsummaryrefslogtreecommitdiff
path: root/qmidiplayer-desktop/qmpcustomizewindow.cpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2019-03-13 17:53:46 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2019-03-13 17:53:46 +0800
commitcf15fde2aa2bcbb244fdfdc46debf457451079f7 (patch)
tree3d63d296f0fbd45fcd128b1c8006cb8de5bc4353 /qmidiplayer-desktop/qmpcustomizewindow.cpp
parentfb5c0155fdff917a1f1816c7afbf00a076c54156 (diff)
downloadQMidiPlayer-cf15fde2aa2bcbb244fdfdc46debf457451079f7.tar.xz
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.
Diffstat (limited to 'qmidiplayer-desktop/qmpcustomizewindow.cpp')
-rw-r--r--qmidiplayer-desktop/qmpcustomizewindow.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/qmidiplayer-desktop/qmpcustomizewindow.cpp b/qmidiplayer-desktop/qmpcustomizewindow.cpp
index 5ac9bd0..b7017b7 100644
--- a/qmidiplayer-desktop/qmpcustomizewindow.cpp
+++ b/qmidiplayer-desktop/qmpcustomizewindow.cpp
@@ -13,8 +13,6 @@ qmpCustomizeWindow::qmpCustomizeWindow(QWidget *parent) :
ui(new Ui::qmpCustomizeWindow)
{
ui->setupUi(this);
- int w=size().width(),h=size().height();w=w*(logicalDpiX()/96.);h=h*(logicalDpiY()/96.);
- setMinimumWidth(w);setMinimumHeight(h);
QSettings *s=qmpMainWindow::getInstance()->getSettingsWindow()->getSettingsIntf();
QList<QVariant> defa={"FileInfo","Render","Panic","ReloadSynth"};
QList<QVariant> defb={"Channel","Playlist","Effects","Visualization"};