fix:warning qt-style-st-lingoes.css the file was missing

This commit is contained in:
xiaoyifang 2022-02-13 20:57:39 +08:00 committed by Abs62
parent a35f9a14d0
commit c329430a7b

View file

@ -1131,8 +1131,8 @@ void MainWindow::applyQtStyleSheet( QString const & displayStyle, QString const
{ {
// Load an additional stylesheet // Load an additional stylesheet
QFile builtInCssFile( QString( ":/qt-style-st-%1.css" ).arg( displayStyle ) ); QFile builtInCssFile( QString( ":/qt-style-st-%1.css" ).arg( displayStyle ) );
builtInCssFile.open( QFile::ReadOnly ); if ( builtInCssFile.open( QFile::ReadOnly ) )
css += builtInCssFile.readAll(); css += builtInCssFile.readAll();
} }
// Try loading a style sheet if there's one // Try loading a style sheet if there's one