mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 18:56:34 +01:00
TabBar: Change close action text to "Close Tab" in context menu
This commit is contained in:
parent
ce3f50f50d
commit
9082c32bae
@ -1,6 +1,6 @@
|
|||||||
/* ============================================================
|
/* ============================================================
|
||||||
* QupZilla - WebKit based browser
|
* QupZilla - Qt web browser
|
||||||
* Copyright (C) 2010-2016 David Rosca <nowrep@gmail.com>
|
* Copyright (C) 2010-2017 David Rosca <nowrep@gmail.com>
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -359,7 +359,7 @@ void TabBar::contextMenuEvent(QContextMenuEvent* event)
|
|||||||
menu.addAction(tr("Close Tabs To The Left"), this, SLOT(closeToLeft()));
|
menu.addAction(tr("Close Tabs To The Left"), this, SLOT(closeToLeft()));
|
||||||
menu.addSeparator();
|
menu.addSeparator();
|
||||||
menu.addAction(m_window->action(QSL("Other/RestoreClosedTab")));
|
menu.addAction(m_window->action(QSL("Other/RestoreClosedTab")));
|
||||||
menu.addAction(QIcon::fromTheme("window-close"), tr("Cl&ose"), this, SLOT(closeTab()));
|
menu.addAction(QIcon::fromTheme("window-close"), tr("Cl&ose Tab"), this, SLOT(closeTab()));
|
||||||
} else {
|
} else {
|
||||||
menu.addAction(IconProvider::newTabIcon(), tr("&New tab"), m_window, SLOT(addTab()));
|
menu.addAction(IconProvider::newTabIcon(), tr("&New tab"), m_window, SLOT(addTab()));
|
||||||
menu.addSeparator();
|
menu.addSeparator();
|
||||||
|
Loading…
Reference in New Issue
Block a user