From 51a242a1dbe779671ef99ca84552f11576ad600f Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 20 Jan 2020 09:29:05 -0800 Subject: mobile UI: add ability to unset the default cylinder This was requested in a 'bug report' by a user. Signed-off-by: Dirk Hohndel --- mobile-widgets/qmlmanager.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mobile-widgets/qmlmanager.cpp') diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp index c29cbe345..8e5005447 100644 --- a/mobile-widgets/qmlmanager.cpp +++ b/mobile-widgets/qmlmanager.cpp @@ -1807,6 +1807,8 @@ QStringList QMLManager::cylinderInit() const cylinders.removeDuplicates(); cylinders.sort(); + // now add fist one that indicates that the user wants no default cylinder + cylinders.prepend(tr("no default cylinder")); return cylinders; } -- cgit v1.2.3-70-g09d2