Commit 6ce03e7b authored by Elvis Angelaccio's avatar Elvis Angelaccio
Browse files

Drop statusTip from MainWindow

This was introduced by c24cbf29 back in 2007, but:
1. It violates the current HIG [1] about the status bar.
2. It causes an ugly visual bug when quickly hovering
   with the mouse on the entries in the Open Recent submenu.
3. Its text is almost useless. I don't even know what it meant with 'click and hold'.

[1]: https://techbase.kde.org/Projects/Usability/HIG/StatusBar
parent 2cd1d594
......@@ -63,7 +63,6 @@ MainWindow::MainWindow(QWidget *)
setXMLFile(QStringLiteral("arkui.rc"));
setupActions();
statusBar();
resize(640, 480);
......@@ -172,7 +171,6 @@ void MainWindow::setupActions()
m_recentFilesAction->setToolBarMode(KRecentFilesAction::MenuMode);
m_recentFilesAction->setToolButtonPopupMode(QToolButton::DelayedPopup);
m_recentFilesAction->setIconText(i18nc("action, to open an archive", "Open"));
m_recentFilesAction->setStatusTip(i18n("Click to open an archive, click and hold to open a recently-opened archive"));
m_recentFilesAction->setToolTip(i18n("Open an archive"));
m_recentFilesAction->loadEntries(KSharedConfig::openConfig()->group("Recent Files"));
connect(m_recentFilesAction, SIGNAL(triggered()),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment