From: Flavio Date: Wed, 15 Dec 2010 22:55:13 +0000 (+0100) Subject: Removed unneeded spacer in toolbar X-Git-Tag: 1.4~47 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fc020dd8881c52e1f42ee388770a5c1f1a354d4a;p=minitube Removed unneeded spacer in toolbar --- 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());