1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 18:56:34 +01:00

Preferences: Don't show version next to ok/cancel/apply buttons

This commit is contained in:
David Rosca 2017-01-27 13:48:47 +01:00
parent c44b8b9309
commit f7d4054cb9
2 changed files with 5 additions and 13 deletions

View File

@ -516,7 +516,6 @@ Preferences::Preferences(BrowserWindow* window)
connect(ui->listWidget, SIGNAL(currentItemChanged(QListWidgetItem*,QListWidgetItem*)), this, SLOT(showStackedPage(QListWidgetItem*))); connect(ui->listWidget, SIGNAL(currentItemChanged(QListWidgetItem*,QListWidgetItem*)), this, SLOT(showStackedPage(QListWidgetItem*)));
ui->listWidget->setItemSelected(ui->listWidget->itemAt(5, 5), true); ui->listWidget->setItemSelected(ui->listWidget->itemAt(5, 5), true);
ui->version->setText(QSL(" QupZilla v") + QL1S(Qz::VERSION));
ui->listWidget->setCurrentRow(currentSettingsPage); ui->listWidget->setCurrentRow(currentSettingsPage);
QDesktopWidget* desktop = QApplication::desktop(); QDesktopWidget* desktop = QApplication::desktop();

View File

@ -1251,6 +1251,9 @@
</item> </item>
<item row="2" column="2"> <item row="2" column="2">
<widget class="QSpinBox" name="cacheMB"> <widget class="QSpinBox" name="cacheMB">
<property name="suffix">
<string> MB</string>
</property>
<property name="minimum"> <property name="minimum">
<number>1</number> <number>1</number>
</property> </property>
@ -1260,9 +1263,6 @@
<property name="value"> <property name="value">
<number>50</number> <number>50</number>
</property> </property>
<property name="suffix">
<string> MB</string>
</property>
</widget> </widget>
</item> </item>
<item row="3" column="1"> <item row="3" column="1">
@ -2424,8 +2424,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>560</width> <width>96</width>
<height>70</height> <height>28</height>
</rect> </rect>
</property> </property>
<layout class="QHBoxLayout" name="horizontalLayout_14"> <layout class="QHBoxLayout" name="horizontalLayout_14">
@ -2666,13 +2666,6 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="4" column="1">
<widget class="QLabel" name="version">
<property name="text">
<string>QupZilla</string>
</property>
</widget>
</item>
<item row="4" column="2"> <item row="4" column="2">
<widget class="QDialogButtonBox" name="buttonBox"> <widget class="QDialogButtonBox" name="buttonBox">
<property name="standardButtons"> <property name="standardButtons">