mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-12 12:54:29 +00:00
Fix build
This commit is contained in:
parent
de3e2ae40f
commit
674a9c08bb
|
@ -1362,10 +1362,10 @@ void DolphinMainWindow::setupActions()
|
||||||
connect(recentTabsMenu, SIGNAL(closedTabsCountChanged(uint)),
|
connect(recentTabsMenu, SIGNAL(closedTabsCountChanged(uint)),
|
||||||
this, SLOT(closedTabsCountChanged(uint)));
|
this, SLOT(closedTabsCountChanged(uint)));
|
||||||
|
|
||||||
KAction* undoCloseTab = actionCollection()->addAction("undo_close_tab");
|
QAction* undoCloseTab = actionCollection()->addAction("undo_close_tab");
|
||||||
undoCloseTab->setText(i18nc("@action:inmenu File", "Undo close tab"));
|
undoCloseTab->setText(i18nc("@action:inmenu File", "Undo close tab"));
|
||||||
undoCloseTab->setShortcut(Qt::CTRL | Qt::SHIFT | Qt::Key_T);
|
undoCloseTab->setShortcut(Qt::CTRL | Qt::SHIFT | Qt::Key_T);
|
||||||
undoCloseTab->setIcon(KIcon("edit-undo"));
|
undoCloseTab->setIcon(QIcon::fromTheme("edit-undo"));
|
||||||
undoCloseTab->setEnabled(false);
|
undoCloseTab->setEnabled(false);
|
||||||
connect(undoCloseTab, SIGNAL(triggered()), recentTabsMenu, SLOT(undoCloseTab()));
|
connect(undoCloseTab, SIGNAL(triggered()), recentTabsMenu, SLOT(undoCloseTab()));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue