From 5c235f67750c06ffa1cd0d4e1adb63bff50bff7b Mon Sep 17 00:00:00 2001 From: nowrep Date: Wed, 22 Jan 2014 15:39:32 +0100 Subject: [PATCH] [Buttons] Use QPushButton for buttons with menu everywhere --- src/lib/bookmarks/bookmarksmanager.ui | 5 +---- src/lib/preferences/autofillmanager.cpp | 1 - src/lib/preferences/autofillmanager.ui | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/lib/bookmarks/bookmarksmanager.ui b/src/lib/bookmarks/bookmarksmanager.ui index d0cfa93ce..204337552 100644 --- a/src/lib/bookmarks/bookmarksmanager.ui +++ b/src/lib/bookmarks/bookmarksmanager.ui @@ -78,13 +78,10 @@ - + Import and Export - - QToolButton::InstantPopup - diff --git a/src/lib/preferences/autofillmanager.cpp b/src/lib/preferences/autofillmanager.cpp index ce59e7e1c..5cde04382 100644 --- a/src/lib/preferences/autofillmanager.cpp +++ b/src/lib/preferences/autofillmanager.cpp @@ -63,7 +63,6 @@ AutoFillManager::AutoFillManager(QWidget* parent) menu->addAction(tr("Import Passwords from File..."), this, SLOT(importPasswords())); menu->addAction(tr("Export Passwords to File..."), this, SLOT(exportPasswords())); ui->importExport->setMenu(menu); - ui->importExport->setPopupMode(QToolButton::InstantPopup); ui->search->setPlaceholderText(tr("Search")); // Password backends diff --git a/src/lib/preferences/autofillmanager.ui b/src/lib/preferences/autofillmanager.ui index f6ce29623..8da63f641 100644 --- a/src/lib/preferences/autofillmanager.ui +++ b/src/lib/preferences/autofillmanager.ui @@ -102,7 +102,7 @@ - + 0