summaryrefslogtreecommitdiff
path: root/audio/anthem/files/patch-anthem_settings_Instrument.cpp
blob: e3979b5dd0908b6793ce6c260d39ead16f13558b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- anthem/settings/Instrument.cpp.orig	Thu May 27 22:07:04 2004
+++ anthem/settings/Instrument.cpp	Thu May 27 22:07:48 2004
@@ -87,7 +87,7 @@
     // Add new instrument
     QString file = KFileDialog::getOpenFileName
         ("", "*.ins", this, "Select an instrument definition file");
-    if (file)
+    if (!file.isEmpty())
     {
         InstrumentChoiceWindow *icw = new InstrumentChoiceWindow(file, this);
         connect(icw, SIGNAL(instrument(TSE3::Ins::Instrument*)),