QFont smallerFont;
smallerFont.setPointSize(smallerFont.pointSize()*.85);
mainToolBar->setFont(smallerFont);
+ QFontInfo fontInfo(smallerFont);
+ if (fontInfo.pixelSize() < 10) {
+ smallerFont.setPixelSize(10);
+ }
mainToolBar->setIconSize(QSize(32,32));
// mainToolBar->addAction(backAct);
smallerFont.setPointSize(smallerFont.pointSize()*.85);
smallerBoldFont.setBold(true);
smallerBoldFont.setPointSize(smallerBoldFont.pointSize()*.85);
-
+ QFontInfo fontInfo(smallerFont);
+ if (fontInfo.pixelSize() < 10) {
+ smallerFont.setPixelSize(10);
+ smallerBoldFont.setPixelSize(10);
+ }
createPlayIcon();
}