This commit is contained in:
Raul Rodrigo Segura 2018-05-21 09:27:58 +02:00
parent 3f2cc854f4
commit 7b6c76ba15

View File

@ -165,7 +165,7 @@ CalamaresWindow::CalamaresWindow( QWidget* parent )
QFileInfo importQSSPath = QFileInfo( brandingQSSDescriptorPath );
if ( importQSSPath.exists() && importQSSPath.isReadable() )
{
QFile File(importQSSPath);
QFile File(brandingQSSDescriptorPath);
File.open(QFile::ReadOnly);
QString StyleSheet = QLatin1String(File.readAll());
this->setStyleSheet(StyleSheet);