summarylogtreecommitdiffstats
path: root/midieditor-3.3.2-fix-building.patch
blob: c5dc3afc2f9b48327aea8a80b56b90e8ba416a83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --color -Naur midieditor-3.3.2.orig/src/midi/MidiFile.cpp midieditor-3.3.2/src/midi/MidiFile.cpp
--- midieditor-3.3.2.orig/src/midi/MidiFile.cpp	2021-06-17 10:56:52.530558603 +0200
+++ midieditor-3.3.2/src/midi/MidiFile.cpp	2021-06-17 10:57:56.415516316 +0200
@@ -1770,7 +1770,7 @@
 void MidiFile::printLog(QStringList* log)
 {
     foreach (QString str, *log) {
-        qWarning(str.toUtf8().constData());
+        qWarning("%s", str.toUtf8().constData());
     }
 }