1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 07:18:08 +00:00

- Fixed stylesheet warning in console on startup

This commit is contained in:
Christophe Dumez 2008-12-24 15:05:45 +00:00
parent 90879386d5
commit 7b57345c4f

View File

@ -146,7 +146,7 @@ int main(int argc, char *argv[]){
#endif #endif
QApplication app(argc, argv); QApplication app(argc, argv);
useStyle(&app, settings.value("Preferences/General/Style", 0).toInt()); useStyle(&app, settings.value("Preferences/General/Style", 0).toInt());
app.setStyleSheet("QStatusBar::item { border: 0px solid black }; "); app.setStyleSheet("QStatusBar::item { border-width: 0; }");
QSplashScreen *splash = new QSplashScreen(QPixmap(QString::fromUtf8(":/Icons/splash.png"))); QSplashScreen *splash = new QSplashScreen(QPixmap(QString::fromUtf8(":/Icons/splash.png")));
splash->show(); splash->show();
// Open options file to read locale // Open options file to read locale