Merge pull request #761 from opentx/dvogonen/fix_756

Fixes #756
This commit is contained in:
Kjell Kernen
2014-02-28 00:03:47 +01:00
+2
View File
@@ -1790,6 +1790,7 @@ void MainWindow::createToolBars()
QToolButton * recentToolButton = new QToolButton; QToolButton * recentToolButton = new QToolButton;
recentToolButton->setPopupMode(QToolButton::InstantPopup); recentToolButton->setPopupMode(QToolButton::InstantPopup);
recentToolButton->setFocusPolicy(Qt::NoFocus);
recentToolButton->setMenu(createRecentFileMenu()); recentToolButton->setMenu(createRecentFileMenu());
recentToolButton->setIcon(CompanionIcon("recentdocument.png")); recentToolButton->setIcon(CompanionIcon("recentdocument.png"));
recentToolButton->setToolTip(tr("Recent Models+Settings")); recentToolButton->setToolTip(tr("Recent Models+Settings"));
@@ -1805,6 +1806,7 @@ void MainWindow::createToolBars()
QToolButton * profileButton = new QToolButton; QToolButton * profileButton = new QToolButton;
profileButton->setPopupMode(QToolButton::InstantPopup); profileButton->setPopupMode(QToolButton::InstantPopup);
profileButton->setFocusPolicy(Qt::NoFocus);
profileButton->setMenu(createProfilesMenu()); profileButton->setMenu(createProfilesMenu());
profileButton->setIcon(CompanionIcon("profiles.png")); profileButton->setIcon(CompanionIcon("profiles.png"));
profileButton->setToolTip(tr("Radio Settings Profile")); profileButton->setToolTip(tr("Radio Settings Profile"));