diff options
author | Timothy Pearson <[email protected]> | 2011-11-26 17:42:48 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-11-26 17:42:48 -0600 |
commit | 4b3c5dd929ea78ca3b6f656a63d70b10d2f43885 (patch) | |
tree | 995c0d3e35794c1bb1029d6b7eacdd80827807bd /src/commands/edit | |
parent | 1461610fb35bb0fcee490f274ea84b8ebfeb1566 (diff) | |
download | rosegarden-4b3c5dd929ea78ca3b6f656a63d70b10d2f43885.tar.gz rosegarden-4b3c5dd929ea78ca3b6f656a63d70b10d2f43885.zip |
Fix FTBFS
Diffstat (limited to 'src/commands/edit')
-rw-r--r-- | src/commands/edit/ClearTriggersCommand.h | 2 | ||||
-rw-r--r-- | src/commands/edit/EventQuantizeCommand.cpp | 2 | ||||
-rw-r--r-- | src/commands/edit/SetTriggerCommand.h | 2 |
3 files changed, 3 insertions, 3 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) { } diff --git a/src/commands/edit/EventQuantizeCommand.cpp b/src/commands/edit/EventQuantizeCommand.cpp index de033ef..4be8163 100644 --- a/src/commands/edit/EventQuantizeCommand.cpp +++ b/src/commands/edit/EventQuantizeCommand.cpp @@ -132,7 +132,7 @@ EventQuantizeCommand::modifySegment() bool makeviable = false; bool decounterpoint = false; - if (m_configGroup) { + if (!m_configGroup.isNull()) { //!!! need way to decide whether to do these even if no config group (i.e. through args to the command) KConfig *config = kapp->config(); config->setGroup(m_configGroup); 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), |