diff options
| author | Gleb Kasachou <[email protected]> | 2025-07-25 12:47:47 +0300 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2025-07-30 07:57:20 +0000 |
| commit | 619300e36035794cd885c6248af2c9d906453eea (patch) | |
| tree | 8d4c5d71046b3fd267a4cf3c9d0fcefa2b84d62c /src/dolphinviewcontainer.h | |
| parent | 9706fbe6fedfa01f38a01b7dbe8d111e6745928d (diff) | |
Offer to mkpath when user goes to a nonexistent folder
This commit changes Dolphin's behavior when a nonexistent local path is
entered into the location bar. Previously, an error message would pop
up. This commit adds a button to that message that allows to create the
path and navigate to it.
Diffstat (limited to 'src/dolphinviewcontainer.h')
| -rw-r--r-- | src/dolphinviewcontainer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dolphinviewcontainer.h b/src/dolphinviewcontainer.h index d4ab0e66e..419b9f5b1 100644 --- a/src/dolphinviewcontainer.h +++ b/src/dolphinviewcontainer.h @@ -487,6 +487,8 @@ private: Admin::Bar *m_adminBar; /// An action to switch to the admin protocol. This variable will always be nullptr unless kio-admin was installed. @see Admin::WorkerIntegration. QAction *m_authorizeToEnterFolderAction; + /// An action to create new folder in case user enters a nonexistent URL in the location bar. + QAction *m_createFolderAction; KMessageWidget *m_messageWidget; |
