mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-22 01:40:02 +00:00
Merge branch 'Applications/19.04'
This commit is contained in:
commit
546ff9a19e
|
@ -1103,7 +1103,6 @@ void DolphinMainWindow::setupActions()
|
|||
{
|
||||
// setup 'File' menu
|
||||
m_newFileMenu = new DolphinNewFileMenu(actionCollection(), this);
|
||||
m_newFileMenu->setObjectName("newFileMenu");
|
||||
QMenu* menu = m_newFileMenu->menu();
|
||||
menu->setTitle(i18nc("@title:menu Create new folder, file, link, etc.", "Create New"));
|
||||
menu->setIcon(QIcon::fromTheme(QStringLiteral("document-new")));
|
||||
|
|
|
@ -243,7 +243,7 @@ void DolphinMainWindowTest::testNewFileMenuEnabled()
|
|||
QVERIFY(QTest::qWaitForWindowExposed(m_mainWindow.data()));
|
||||
QVERIFY(m_mainWindow->isVisible());
|
||||
|
||||
auto newFileMenu = m_mainWindow->findChild<DolphinNewFileMenu*>("newFileMenu");
|
||||
auto newFileMenu = m_mainWindow->findChild<DolphinNewFileMenu*>("new_menu");
|
||||
QVERIFY(newFileMenu);
|
||||
|
||||
QFETCH(bool, expectedEnabled);
|
||||
|
|
Loading…
Reference in a new issue