aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2018-01-29 21:58:33 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2018-01-29 21:58:33 +0800
commitd1e39d9b0a790f839c7a6cc72e4fe10d230c1921 (patch)
tree6d6442bbbe75b767145a65b1ba34612e8d8c9042
parentc0d53cf1f868a38ffb7681b7904348d69fb6b5c9 (diff)
downloadQMidiPlayer-d1e39d9b0a790f839c7a6cc72e4fe10d230c1921.tar.xz
Fixed FTBFS with Qt 5.6.
-rw-r--r--qmidiplayer-desktop/qmpmainwindow.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmidiplayer-desktop/qmpmainwindow.hpp b/qmidiplayer-desktop/qmpmainwindow.hpp
index a70083a..cc0630b 100644
--- a/qmidiplayer-desktop/qmpmainwindow.hpp
+++ b/qmidiplayer-desktop/qmpmainwindow.hpp
@@ -66,7 +66,7 @@ class QReflectiveAction:public QAction
}
public:
explicit QReflectiveAction(const QIcon& icon,const QString& text,const std::string& ref):
- QAction(icon,text),reflt(ref){
+ QAction(icon,text,NULL),reflt(ref){
connect(this,SIGNAL(triggered(bool)),this,SLOT(triggerslot()));
}
};