summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs/KeySignatureDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/dialogs/KeySignatureDialog.cpp')
-rw-r--r--src/gui/dialogs/KeySignatureDialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/dialogs/KeySignatureDialog.cpp b/src/gui/dialogs/KeySignatureDialog.cpp
index 79f190c..a5e829d 100644
--- a/src/gui/dialogs/KeySignatureDialog.cpp
+++ b/src/gui/dialogs/KeySignatureDialog.cpp
@@ -89,7 +89,7 @@ KeySignatureDialog::KeySignatureDialog(TQWidget *parent,
nameBox = new TQHBox(keyFrame);
TQLabel *explanatoryLabel = 0;
- if (explanatoryText) {
+ if (!explanatoryText.isNull()) {
explanatoryLabel = new TQLabel(explanatoryText, keyFrame);
}