Commit dd82a25a authored by Bharadwaj Raju's avatar Bharadwaj Raju Committed by Nate Graham
Browse files

Make the Share button's dropdown open instantly on left-click too

Right now it needs right-click or left-click-hold, which makes it appear broken
when someone left-clicks it and reasonably expects it to do *something*.

cc @teams/usability
parent c0d45c85
Pipeline #236699 passed with stage
in 1 minute and 51 seconds
......@@ -506,7 +506,7 @@ struct MainWindow::Private {
#ifdef KF5Purpose_FOUND
mShareAction = new KToolBarPopupAction(QIcon::fromTheme("document-share"), i18nc("@action Share images", "Share"), q);
mShareAction->setPopupMode(QToolButton::DelayedPopup);
mShareAction->setPopupMode(QToolButton::InstantPopup);
actionCollection->addAction("share", mShareAction);
mShareMenu = new Purpose::Menu(q);
mShareAction->setMenu(mShareMenu);
......
Supports Markdown
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