diff --git a/src/gui/mainwindow.cpp b/src/gui/mainwindow.cpp
index 1ead855db..8343b4c3f 100644
--- a/src/gui/mainwindow.cpp
+++ b/src/gui/mainwindow.cpp
@@ -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);
diff --git a/src/gui/mainwindow.ui b/src/gui/mainwindow.ui
index f6ef90af0..7f48e98aa 100644
--- a/src/gui/mainwindow.ui
+++ b/src/gui/mainwindow.ui
@@ -13,11 +13,17 @@
Qt::CustomContextMenu
-
-
-
-
-
+
+
+
+ 7
+
+
+ 3
+
+
+ 5
+
0
@@ -29,7 +35,7 @@
0
0
914
- 20
+ 22