mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 08:34:08 +00:00
fix:warning qt-style-st-lingoes.css the file was missing
This commit is contained in:
parent
a35f9a14d0
commit
c329430a7b
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue