diff options
| author | Ilya Bizyaev <[email protected]> | 2023-08-22 23:22:05 +0200 |
|---|---|---|
| committer | Ilya Bizyaev <[email protected]> | 2023-08-22 23:22:05 +0200 |
| commit | d37cb5eb3639662f34cc33d78f666764ffd1618e (patch) | |
| tree | b510d0b2a76277d23f41fb6be2340be40f452bb2 /src/dolphincontextmenu.cpp | |
| parent | 1fca4656247add884bd7cc282e4e65170c128706 (diff) | |
Swap "Open Path in New Tab" and "Open Path in New Window"
Looks like I missed it back in
https://invent.kde.org/system/dolphin/-/commit/402f7f3041d45d8c5969f3bc202fe9156891cd2e
— so fixing now :)
Diffstat (limited to 'src/dolphincontextmenu.cpp')
| -rw-r--r-- | src/dolphincontextmenu.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dolphincontextmenu.cpp b/src/dolphincontextmenu.cpp index 445d39286..4addf53cd 100644 --- a/src/dolphincontextmenu.cpp +++ b/src/dolphincontextmenu.cpp @@ -209,14 +209,14 @@ void DolphinContextMenu::addItemContextMenu() m_mainWindow->activeViewContainer()->view()->markUrlAsCurrent(m_fileInfo.url()); }); - addAction(QIcon::fromTheme(QStringLiteral("window-new")), i18nc("@action:inmenu", "Open Path in New Window"), [this]() { - Dolphin::openNewWindow({m_fileInfo.url()}, m_mainWindow, Dolphin::OpenNewWindowFlag::Select); - }); - addAction(QIcon::fromTheme(QStringLiteral("tab-new")), i18nc("@action:inmenu", "Open Path in New Tab"), [this]() { m_mainWindow->openNewTab(KIO::upUrl(m_fileInfo.url())); }); + addAction(QIcon::fromTheme(QStringLiteral("window-new")), i18nc("@action:inmenu", "Open Path in New Window"), [this]() { + Dolphin::openNewWindow({m_fileInfo.url()}, m_mainWindow, Dolphin::OpenNewWindowFlag::Select); + }); + addSeparator(); } else { // Insert 'Open With" entries |
