diff options
| author | Serg Podtynnyi <[email protected]> | 2023-01-27 17:54:35 +0700 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2023-02-14 16:40:33 +0000 |
| commit | b7fa85a33d6b5c1b2a5b60b64a78f7f208ea304c (patch) | |
| tree | 588bab13ef7742430801752f720955fd1f34b5be /src/views/dolphinview.cpp | |
| parent | bb686052c7b353aa58151172cf215fd2349f8b94 (diff) | |
Add new settings for permissions column format
Ability to configure column for the file/dir permissions in
Numeric(Octal)/Textual/Combined style and update field display style to be right-alighed.
Add toolips to column menu items
BUG: 227745
Diffstat (limited to 'src/views/dolphinview.cpp')
| -rw-r--r-- | src/views/dolphinview.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/views/dolphinview.cpp b/src/views/dolphinview.cpp index 1f61bcbf2..18d2137e3 100644 --- a/src/views/dolphinview.cpp +++ b/src/views/dolphinview.cpp @@ -1167,6 +1167,7 @@ void DolphinView::slotHeaderContextMenuRequested(const QPointF &pos) action->setCheckable(true); action->setChecked(visibleRolesSet.contains(info.role)); action->setData(info.role); + action->setToolTip(info.tooltip); const bool enable = (!info.requiresBaloo && !info.requiresIndexer) || (info.requiresBaloo) || (info.requiresIndexer && indexingEnabled); action->setEnabled(enable); @@ -1776,7 +1777,7 @@ void DolphinView::slotDeleteFileFinished(KJob *job) void DolphinView::selectNextItem() { if (m_active && m_selectNextItem) { - KItemListSelectionManager* selectionManager = m_container->controller()->selectionManager(); + KItemListSelectionManager *selectionManager = m_container->controller()->selectionManager(); if (selectedItems().isEmpty()) { Q_ASSERT_X(false, "DolphinView", "Selecting the next item failed."); return; @@ -1921,7 +1922,7 @@ void DolphinView::slotRoleEditingFinished(int index, const QByteArray &role, con newUrl.setPath(newUrl.path() + KIO::encodeFileName(newName)); #ifndef Q_OS_WIN - //Confirm hiding file/directory by renaming inline + // Confirm hiding file/directory by renaming inline if (!hiddenFilesShown() && newName.startsWith(QLatin1Char('.')) && !oldItem.name().startsWith(QLatin1Char('.'))) { KGuiItem yesGuiItem(i18nc("@action:button", "Rename and Hide"), QStringLiteral("view-hidden")); |
