Hack font size down to 11pt on Mac.

Fixes issue #546
This commit is contained in:
John Maguire 2010-07-26 12:55:33 +00:00
parent a55ee16c3d
commit 7235194016
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
darwin {
font-size: 11pt;
}
#playlist {
background-color: %palette-base;
background-image: url(:logo.png);

View File

@ -73,6 +73,10 @@ void StyleSheetLoader::UpdateStyleSheet(QWidget *widget) {
ReplaceColor(&contents, "Link", p, QPalette::Link);
ReplaceColor(&contents, "LinkVisited", p, QPalette::LinkVisited);
#ifdef Q_OS_DARWIN
contents.replace("darwin", "*");
#endif
widget->setStyleSheet(contents);
}