Browse Source

Reduce mainwindow border width

adaptive-webui-19844
Chocobo1 9 years ago
parent
commit
b2bf1b3425
  1. 2
      src/gui/mainwindow.cpp
  2. 36
      src/gui/mainwindow.ui

2
src/gui/mainwindow.cpp

@ -215,7 +215,7 @@ MainWindow::MainWindow(QWidget *parent) @@ -215,7 +215,7 @@ MainWindow::MainWindow(QWidget *parent)
connect(BitTorrent::Session::instance(), SIGNAL(trackerError(BitTorrent::TorrentHandle *const, const QString &)), transferListFilters, SLOT(trackerError(BitTorrent::TorrentHandle *const, const QString &)));
connect(BitTorrent::Session::instance(), SIGNAL(trackerWarning(BitTorrent::TorrentHandle *const, const QString &)), transferListFilters, SLOT(trackerWarning(BitTorrent::TorrentHandle *const, const QString &)));
vboxLayout->addWidget(tabs);
centralWidgetLayout->addWidget(tabs);
prioSeparator = toolBar->insertSeparator(actionTopPriority);
prioSeparatorMenu = menu_Edit->insertSeparator(actionTopPriority);

36
src/gui/mainwindow.ui

@ -13,11 +13,17 @@ @@ -13,11 +13,17 @@
<property name="contextMenuPolicy">
<enum>Qt::CustomContextMenu</enum>
</property>
<property name="windowTitle">
<string/>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QVBoxLayout">
<widget class="QWidget" name="centralWidget">
<layout class="QVBoxLayout" name="centralWidgetLayout">
<property name="leftMargin">
<number>7</number>
</property>
<property name="topMargin">
<number>3</number>
</property>
<property name="rightMargin">
<number>5</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
@ -29,7 +35,7 @@ @@ -29,7 +35,7 @@
<x>0</x>
<y>0</y>
<width>914</width>
<height>20</height>
<height>22</height>
</rect>
</property>
<widget class="QMenu" name="menu_Edit">
@ -152,17 +158,11 @@ @@ -152,17 +158,11 @@
<property name="text">
<string>E&amp;xit</string>
</property>
<property name="toolTip">
<string>Exit</string>
</property>
</action>
<action name="actionOptions">
<property name="text">
<string>&amp;Options...</string>
</property>
<property name="iconText">
<string>Options</string>
</property>
</action>
<action name="actionAbout">
<property name="text">
@ -173,25 +173,16 @@ @@ -173,25 +173,16 @@
<property name="text">
<string>&amp;Resume</string>
</property>
<property name="iconText">
<string>Resume</string>
</property>
</action>
<action name="actionPause">
<property name="text">
<string>&amp;Pause</string>
</property>
<property name="iconText">
<string>Pause</string>
</property>
</action>
<action name="actionDelete">
<property name="text">
<string>&amp;Delete</string>
</property>
<property name="iconText">
<string>Delete</string>
</property>
</action>
<action name="actionDownload_from_URL">
<property name="text">
@ -319,9 +310,6 @@ @@ -319,9 +310,6 @@
<property name="iconText">
<string>Lock</string>
</property>
<property name="toolTip">
<string>Lock qBittorrent</string>
</property>
<property name="shortcut">
<string notr="true">Ctrl+L</string>
</property>

Loading…
Cancel
Save