clean: delete unused and empty builtin qt-style.css for macOS/Linux
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run

This commit is contained in:
shenleban tongying 2024-11-23 03:41:00 -05:00 committed by GitHub
parent 1fb1c5c9de
commit abeacef13d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 1 additions and 4 deletions

View file

@ -15,7 +15,6 @@
<file>qt-lingvo.css</file>
<file>qt-modern.css</file>
<file>qt-style-win.css</file>
<file>qt-style.css</file>
<file>article-style-darkmode.css</file>
</qresource>
</RCC>

View file

@ -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 );