mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-23 16:04:06 +00:00
clean: delete unused and empty builtin qt-style.css for macOS/Linux
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
This commit is contained in:
parent
1fb1c5c9de
commit
abeacef13d
|
@ -15,7 +15,6 @@
|
||||||
<file>qt-lingvo.css</file>
|
<file>qt-lingvo.css</file>
|
||||||
<file>qt-modern.css</file>
|
<file>qt-modern.css</file>
|
||||||
<file>qt-style-win.css</file>
|
<file>qt-style-win.css</file>
|
||||||
<file>qt-style.css</file>
|
|
||||||
<file>article-style-darkmode.css</file>
|
<file>article-style-darkmode.css</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
|
|
@ -1374,10 +1374,8 @@ void MainWindow::updateAppearances( QString const & addonStyle,
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
QFile builtInCssFile( ":qt-style.css" );
|
|
||||||
builtInCssFile.open( QFile::ReadOnly );
|
|
||||||
QByteArray css = builtInCssFile.readAll();
|
|
||||||
|
|
||||||
|
QByteArray css{};
|
||||||
#if defined( Q_OS_WIN )
|
#if defined( Q_OS_WIN )
|
||||||
QFile winCssFile( ":qt-style-win.css" );
|
QFile winCssFile( ":qt-style-win.css" );
|
||||||
winCssFile.open( QFile::ReadOnly );
|
winCssFile.open( QFile::ReadOnly );
|
||||||
|
|
Loading…
Reference in a new issue