From fc020dd8881c52e1f42ee388770a5c1f1a354d4a Mon Sep 17 00:00:00 2001 From: Flavio Date: Wed, 15 Dec 2010 23:55:13 +0100 Subject: [PATCH] Removed unneeded spacer in toolbar --- src/MainWindow.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 1ef752b..c4c00b0 100755 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -403,9 +403,8 @@ void MainWindow::createToolBars() { seekSlider->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Preferred); mainToolBar->addWidget(seekSlider); - mainToolBar->addWidget(new Spacer()); - /* + mainToolBar->addWidget(new Spacer()); slider = new QSlider(this); slider->setOrientation(Qt::Horizontal); slider->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Preferred); @@ -466,7 +465,7 @@ void MainWindow::readSettings() { restoreGeometry(settings.value("geometry").toByteArray()); #ifdef APP_MAC if (!isMaximized()) - move(x(), y() + 10); + move(x(), y() + mainToolBar->height() + 8); #endif setDefinitionMode(settings.value("definition", VideoDefinition::getDefinitionNames().first()).toString()); audioOutput->setVolume(settings.value("volume", 1).toDouble()); -- 2.39.5