diff options
author | Chris Xiong <chirs241097@gmail.com> | 2017-08-10 00:14:44 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2017-08-10 00:14:44 +0800 |
commit | ab33532da11672ee435e2b566cdba81b2e79e874 (patch) | |
tree | b4c9aa59459f5586831384835ced28951e874967 /qmidiplayer-desktop/qmpsettingswindow.hpp | |
parent | b03133b80b268c74d1dd5c92e2af6907b51c91b2 (diff) | |
download | QMidiPlayer-ab33532da11672ee435e2b566cdba81b2e79e874.tar.xz |
Windows of several main functionalities are no longer
QDialogs. Fixed unexpected behavior.
Now visualization window can be closed by sending it
a close signal.
Trying a solution to address the problem that prevents
plugins from being loaded correctly in Windows if the
path contains Chinese characters. Not even tried to
build in Windows though.
Diffstat (limited to 'qmidiplayer-desktop/qmpsettingswindow.hpp')
-rw-r--r-- | qmidiplayer-desktop/qmpsettingswindow.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qmidiplayer-desktop/qmpsettingswindow.hpp b/qmidiplayer-desktop/qmpsettingswindow.hpp index a7d5cbb..5636f54 100644 --- a/qmidiplayer-desktop/qmpsettingswindow.hpp +++ b/qmidiplayer-desktop/qmpsettingswindow.hpp @@ -6,6 +6,7 @@ #include <vector> #include <QDialog> #include <QCloseEvent> +#include <QHideEvent> #include <QSettings> #include <QTableWidget> #include <QComboBox> @@ -85,6 +86,7 @@ class qmpSettingsWindow:public QDialog explicit qmpSettingsWindow(QWidget *parent=0); ~qmpSettingsWindow(); void closeEvent(QCloseEvent *event); + void hideEvent(QHideEvent *event); void settingsInit(); QTableWidget *getSFWidget(); void updatePluginList(qmpPluginManager *pmgr); |