mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 07:18:08 +00:00
- Fix splash screen
This commit is contained in:
parent
a79b294885
commit
2a77de686c
@ -178,7 +178,7 @@ int main(int argc, char *argv[]){
|
|||||||
app = new QApplication(argc, argv);
|
app = new QApplication(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-width: 0; }");
|
app->setStyleSheet("QStatusBar::item { border-width: 0; }");
|
||||||
QSplashScreen *splash = new QSplashScreen(QPixmap(QString::fromUtf8(":/Icons/oxygen/splash.png")));
|
QSplashScreen *splash = new QSplashScreen(QPixmap(QString::fromUtf8(":/Icons/skin/splash.png")));
|
||||||
splash->show();
|
splash->show();
|
||||||
// Open options file to read locale
|
// Open options file to read locale
|
||||||
locale = settings.value(QString::fromUtf8("Preferences/General/Locale"), QString()).toString();
|
locale = settings.value(QString::fromUtf8("Preferences/General/Locale"), QString()).toString();
|
||||||
|
Loading…
Reference in New Issue
Block a user