diff --git a/src/stylesheets/css.qrc b/src/stylesheets/css.qrc index 4b7307e0..5ef0da4c 100644 --- a/src/stylesheets/css.qrc +++ b/src/stylesheets/css.qrc @@ -15,7 +15,6 @@ qt-lingvo.css qt-modern.css qt-style-win.css - qt-style.css article-style-darkmode.css diff --git a/src/stylesheets/qt-style.css b/src/stylesheets/qt-style.css deleted file mode 100644 index e69de29b..00000000 diff --git a/src/ui/mainwindow.cc b/src/ui/mainwindow.cc index 35f8862d..7a8cd89b 100644 --- a/src/ui/mainwindow.cc +++ b/src/ui/mainwindow.cc @@ -1374,10 +1374,8 @@ void MainWindow::updateAppearances( QString const & addonStyle, } #endif - QFile builtInCssFile( ":qt-style.css" ); - builtInCssFile.open( QFile::ReadOnly ); - QByteArray css = builtInCssFile.readAll(); + QByteArray css{}; #if defined( Q_OS_WIN ) QFile winCssFile( ":qt-style-win.css" ); winCssFile.open( QFile::ReadOnly );