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,7 +1131,7 @@ void MainWindow::applyQtStyleSheet( QString const & displayStyle, QString const
{
// Load an additional stylesheet
QFile builtInCssFile( QString( ":/qt-style-st-%1.css" ).arg( displayStyle ) );
builtInCssFile.open( QFile::ReadOnly );
if ( builtInCssFile.open( QFile::ReadOnly ) )
css += builtInCssFile.readAll();
}