┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFelix Ernst <[email protected]>2024-09-16 16:52:59 +0200
committerFelix Ernst <[email protected]>2024-10-17 15:52:31 +0000
commit4c3f1b63b4fc6af4615e25832a3532a2023cf57f (patch)
tree9c491780d59ffdf0ff6a806d15170d31398459bd /src
parentb9c04a701d093fe56c516f520fa16c8f6eb1e007 (diff)
Disable inline renaming for phones by default
It currently does not seem to work together with virtual keyboards.
Diffstat (limited to 'src')
-rw-r--r--src/dolphinmainwindow.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp
index 36f0316c6..b0eccde0d 100644
--- a/src/dolphinmainwindow.cpp
+++ b/src/dolphinmainwindow.cpp
@@ -207,7 +207,10 @@ DolphinMainWindow::DolphinMainWindow()
if (usePhoneUi) {
Q_ASSERT(qobject_cast<QDockWidget *>(m_placesPanel->parent()));
m_placesPanel->parentWidget()->hide();
- GeneralSettings::setShowZoomSlider(false);
+ auto settings = GeneralSettings::self();
+ settings->setShowZoomSlider(false); // Zooming can be done with pinch gestures instead and we are short on horizontal space.
+ settings->setRenameInline(false); // This works around inline renaming currently not working well with virtual keyboards.
+ settings->save(); // Otherwise the RenameInline setting is not picked up for the first time Dolphin is used.
}
}