Skip to content

Commit

Permalink
clean: delete empty qt-style.css for macOS/Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
shenlebantongying committed Nov 23, 2024
1 parent 5406b30 commit d022c90
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion src/stylesheets/css.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Empty file removed src/stylesheets/qt-style.css
Empty file.
4 changes: 1 addition & 3 deletions src/ui/mainwindow.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit d022c90

Please sign in to comment.