┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinviewcontainer.h
diff options
context:
space:
mode:
authorGleb Kasachou <[email protected]>2025-07-29 11:45:35 +0300
committerMéven Car <[email protected]>2025-07-30 07:57:20 +0000
commit134b45aedc420e18352cce82ebe2b0db68d3c42e (patch)
tree8207b08b32b619a4f522a706b1c09b0429774cb3 /src/dolphinviewcontainer.h
parent98c5db504685f125ef5140331c36fafc91bf2945 (diff)
Disable "Create folder" action if the location is not writable
Instead of hiding the action when the user lacks permission to create the folder, it is now shown in a disabled state. The tooltip is also updated to reflect the disabled state.
Diffstat (limited to 'src/dolphinviewcontainer.h')
-rw-r--r--src/dolphinviewcontainer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dolphinviewcontainer.h b/src/dolphinviewcontainer.h
index 4acccdd81..d2d322b08 100644
--- a/src/dolphinviewcontainer.h
+++ b/src/dolphinviewcontainer.h
@@ -464,7 +464,7 @@ private:
* Check if a folder can be created at url.
* This method supports only local URLs.
*/
- bool isFolderCreatable(QUrl url);
+ bool isTopMostParentFolderWritable(QUrl url);
protected:
bool eventFilter(QObject *object, QEvent *event) override;