summaryrefslogtreecommitdiffstats
path: root/src/commands/edit/EventQuantizeCommand.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/edit/EventQuantizeCommand.cpp')
-rw-r--r--src/commands/edit/EventQuantizeCommand.cpp2
1 files changed, 1 insertions, 1 deletions
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);