diff options
| author | Méven Car <[email protected]> | 2023-12-05 16:46:52 +0100 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2023-12-14 10:36:58 +0100 |
| commit | 2aa5477ccfaf9aeb9e0d6241f62da94b08f363ea (patch) | |
| tree | bd0251907dc6771c388628216babc27099b864aa /src/dolphinmainwindow.cpp | |
| parent | f8380c50ebcf8512e99221f8563c6880f6e39214 (diff) | |
Dolphin: Remove unused code, fix clazy warnings
Diffstat (limited to 'src/dolphinmainwindow.cpp')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index ccdd7fcc5..449d7b4ff 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -1309,7 +1309,7 @@ void DolphinMainWindow::slotWriteStateChanged(bool isFolderWritable) void DolphinMainWindow::openContextMenu(const QPoint &pos, const KFileItem &item, const KFileItemList &selectedItems, const QUrl &url) { QPointer<DolphinContextMenu> contextMenu = new DolphinContextMenu(this, item, selectedItems, url, &m_fileItemActions); - contextMenu.data()->exec(pos); + contextMenu->exec(pos); // Delete the menu, unless it has been deleted in its own nested event loop already. if (contextMenu) { |
