From 4b3c5dd929ea78ca3b6f656a63d70b10d2f43885 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 26 Nov 2011 17:42:48 -0600 Subject: Fix FTBFS --- src/commands/edit/SetTriggerCommand.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands/edit/SetTriggerCommand.h') 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), -- cgit v1.2.3