diff options
author | 2019-03-13 17:53:46 +0800 | |
---|---|---|
committer | 2019-03-13 17:53:46 +0800 | |
commit | cf15fde2aa2bcbb244fdfdc46debf457451079f7 (patch) | |
tree | 3d63d296f0fbd45fcd128b1c8006cb8de5bc4353 /qmidiplayer-desktop/qmphelpwindow.cpp | |
parent | fb5c0155fdff917a1f1816c7afbf00a076c54156 (diff) | |
download | QMidiPlayer-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/qmphelpwindow.cpp')
-rw-r--r-- | qmidiplayer-desktop/qmphelpwindow.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/qmidiplayer-desktop/qmphelpwindow.cpp b/qmidiplayer-desktop/qmphelpwindow.cpp index b2346dd..2faed61 100644 --- a/qmidiplayer-desktop/qmphelpwindow.cpp +++ b/qmidiplayer-desktop/qmphelpwindow.cpp @@ -18,8 +18,6 @@ qmpHelpWindow::qmpHelpWindow(QWidget *parent) : ui(new Ui::qmpHelpWindow) { 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); ui->textBrowser->setSearchPaths(QStringList(QString(":/doc"))+QStringList(QString(":/img"))); ui->textBrowser->setSource(QUrl("qrc:///doc/index_internal.html")); } |