summaryrefslogtreecommitdiffstats
path: root/src/commands/edit/SetTriggerCommand.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-26 17:42:48 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-26 17:42:48 -0600
commit4b3c5dd929ea78ca3b6f656a63d70b10d2f43885 (patch)
tree995c0d3e35794c1bb1029d6b7eacdd80827807bd /src/commands/edit/SetTriggerCommand.h
parent1461610fb35bb0fcee490f274ea84b8ebfeb1566 (diff)
downloadrosegarden-4b3c5dd929ea78ca3b6f656a63d70b10d2f43885.tar.gz
rosegarden-4b3c5dd929ea78ca3b6f656a63d70b10d2f43885.zip
Fix FTBFS
Diffstat (limited to 'src/commands/edit/SetTriggerCommand.h')
-rw-r--r--src/commands/edit/SetTriggerCommand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/edit/SetTriggerCommand.h b/src/commands/edit/SetTriggerCommand.h
index 898bf0b..a87eab8 100644
--- a/src/commands/edit/SetTriggerCommand.h
+++ b/src/commands/edit/SetTriggerCommand.h
@@ -51,7 +51,7 @@ public:
std::string timeAdjust,
Mark mark,
TQString name = 0) :
- BasicSelectionCommand(name ? name : getGlobalName(), selection, true),
+ BasicSelectionCommand(!name.isNull() ? name : getGlobalName(), selection, true),
m_selection(&selection),
m_triggerSegmentId(triggerSegmentId),
m_notesOnly(notesOnly),