1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 10:46:35 +01:00

[Buttons] Use QPushButton for buttons with menu everywhere

This commit is contained in:
nowrep 2014-01-22 15:39:32 +01:00
parent 8eea60fe6a
commit 5c235f6775
3 changed files with 2 additions and 6 deletions

View File

@ -78,13 +78,10 @@
</widget>
</item>
<item row="1" column="7">
<widget class="QToolButton" name="importExport">
<widget class="QPushButton" name="importExport">
<property name="text">
<string>Import and Export</string>
</property>
<property name="popupMode">
<enum>QToolButton::InstantPopup</enum>
</property>
</widget>
</item>
</layout>

View File

@ -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

View File

@ -102,7 +102,7 @@
<item row="3" column="0" colspan="2">
<layout class="QHBoxLayout" name="showPasswordsLayout">
<item>
<widget class="QToolButton" name="importExport">
<widget class="QPushButton" name="importExport">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>