]> git.sur5r.net Git - minitube/commitdiff
Oops
authorFlavio Tordini <flavio.tordini@gmail.com>
Mon, 19 Oct 2009 20:10:45 +0000 (22:10 +0200)
committerFlavio Tordini <flavio.tordini@gmail.com>
Mon, 19 Oct 2009 20:10:45 +0000 (22:10 +0200)
src/MainWindow.cpp

index e0079764a6c274ee15340445ad34907cd814a379..03ad22160da47b3843a8434fde46f56759644ed2 100755 (executable)
@@ -277,11 +277,11 @@ void MainWindow::createToolBars() {
 
     QFont smallerFont;
     smallerFont.setPointSize(smallerFont.pointSize()*.85);
-    mainToolBar->setFont(smallerFont);
     QFontInfo fontInfo(smallerFont);
     if (fontInfo.pixelSize() < 10) {
         smallerFont.setPixelSize(10);
     }
+    mainToolBar->setFont(smallerFont);
 
     mainToolBar->setIconSize(QSize(32,32));
     // mainToolBar->addAction(backAct);