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/qmpchanneleditor.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'qmidiplayer-desktop/qmpchanneleditor.cpp') diff --git a/qmidiplayer-desktop/qmpchanneleditor.cpp b/qmidiplayer-desktop/qmpchanneleditor.cpp index 2c58793..206a2fa 100644 --- a/qmidiplayer-desktop/qmpchanneleditor.cpp +++ b/qmidiplayer-desktop/qmpchanneleditor.cpp @@ -8,8 +8,6 @@ qmpChannelEditor::qmpChannelEditor(QWidget *parent) : ui(new Ui::qmpChannelEditor) { ui->setupUi(this);ch=0; - int w=size().width(),h=size().height();w=w*(logicalDpiX()/96.);h=h*(logicalDpiY()/96.); - setMaximumWidth(w);setMaximumHeight(h);setMinimumWidth(w);setMinimumHeight(h); styl=new QDialSkulptureStyle(); QList dials=findChildren(); for(int i=0;i