From 274b3c786bb0bf9b2f46b17112809838d8127c76 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 17 Jan 2021 12:52:05 -0800 Subject: mobile/git-storage: ensure correct commit messages get saved In order to get the undo stack information into the commit message, we need to actually call Command::init() to set up the callback. Signed-off-by: Dirk Hohndel --- mobile-widgets/qmlmanager.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mobile-widgets/qmlmanager.cpp') diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp index a40eb7f6c..02c254257 100644 --- a/mobile-widgets/qmlmanager.cpp +++ b/mobile-widgets/qmlmanager.cpp @@ -328,6 +328,9 @@ QMLManager::QMLManager() : m_locationServiceEnabled(false), // we start out with clean data updateHaveLocalChanges(false); + + // setup Command infrastructure + Command::init(); } void QMLManager::applicationStateChanged(Qt::ApplicationState state) -- cgit v1.2.3-70-g09d2