summaryrefslogtreecommitdiffstats
path: root/src/commands/edit/ClearTriggersCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/edit/ClearTriggersCommand.h')
-rw-r--r--src/commands/edit/ClearTriggersCommand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/edit/ClearTriggersCommand.h b/src/commands/edit/ClearTriggersCommand.h
index 5372f93..0abbdb7 100644
--- a/src/commands/edit/ClearTriggersCommand.h
+++ b/src/commands/edit/ClearTriggersCommand.h
@@ -44,7 +44,7 @@ class ClearTriggersCommand : public BasicSelectionCommand
public:
ClearTriggersCommand(EventSelection &selection,
TQString name = 0) :
- BasicSelectionCommand(name ? name : getGlobalName(), selection, true),
+ BasicSelectionCommand(!name.isNull() ? name : getGlobalName(), selection, true),
m_selection(&selection)
{ }