- Fixed percentages disapearing with default version of cleanlooks style

This commit is contained in:
Christophe Dumez
2009-07-12 03:39:24 +00:00
parent 977dba4be6
commit e67d3243e8
2 changed files with 7 additions and 2 deletions

View File

@@ -3,6 +3,7 @@
- BUGFIX: Suppressed QLayout: Attempting to add QLayout "" to properties "properties" warning message when opening a properties dialog
- BUGFIX: Fixed a little bug in search engine plugins helper file
- BUGFIX: Fixed compilation problems with Qt 4.3
- BUGFIX: Percentages no longer disapear with default cleanlooks style
* Sun Apr 5 2009 - Christophe Dumez <chris@qbittorrent.org> - v1.3.3
- BUGFIX: Fixed Web UI torrent upload form

View File

@@ -103,8 +103,12 @@ void useStyle(QApplication *app, int style){
app->setStyle(new QWindowsXPStyle());
break;
#endif
/*default:
app->setStyle(new QPlastiqueStyle());*/
default:
if(app->style()->objectName() == "cleanlooks") {
// Force our own cleanlooks style
qDebug("Forcing our own cleanlooks style");
app->setStyle(new QGnomeLookStyle());
}
}
}