summary refs log tree commit diff
path: root/src/timeline/TimelineViewManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/timeline/TimelineViewManager.cpp')
-rw-r--r--src/timeline/TimelineViewManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/timeline/TimelineViewManager.cpp b/src/timeline/TimelineViewManager.cpp

index ed86414d..490bf726 100644 --- a/src/timeline/TimelineViewManager.cpp +++ b/src/timeline/TimelineViewManager.cpp
@@ -445,8 +445,8 @@ TimelineViewManager::completerFor(const QString &completerName, const QString &r stickerModel->setParent(proxy); return proxy; } else if (completerName == QLatin1String("command")) { - static auto commandCompleter = new CommandCompleter(); - auto proxy = new CompletionProxyModel(commandCompleter); + auto commandCompleter = new CommandCompleter(); + auto proxy = new CompletionProxyModel(commandCompleter); commandCompleter->setParent(proxy); return proxy; }