Set type to variable and import library
This commit is contained in:
parent
e2801daf33
commit
3f2cc854f4
@ -35,6 +35,7 @@
|
|||||||
#include <QLabel>
|
#include <QLabel>
|
||||||
#include <QTreeView>
|
#include <QTreeView>
|
||||||
#include <QFile>
|
#include <QFile>
|
||||||
|
#include <QFileInfo>
|
||||||
|
|
||||||
CalamaresWindow::CalamaresWindow( QWidget* parent )
|
CalamaresWindow::CalamaresWindow( QWidget* parent )
|
||||||
: QWidget( parent )
|
: QWidget( parent )
|
||||||
@ -161,7 +162,7 @@ CalamaresWindow::CalamaresWindow( QWidget* parent )
|
|||||||
QString brandingQSSDescriptorPath = QString( "/etc/calamares/branding/%1/stylesheet.qss" )
|
QString brandingQSSDescriptorPath = QString( "/etc/calamares/branding/%1/stylesheet.qss" )
|
||||||
.arg( brandingComponentName );
|
.arg( brandingComponentName );
|
||||||
|
|
||||||
importQSSPath = QFileInfo( brandingQSSDescriptorPath );
|
QFileInfo importQSSPath = QFileInfo( brandingQSSDescriptorPath );
|
||||||
if ( importQSSPath.exists() && importQSSPath.isReadable() )
|
if ( importQSSPath.exists() && importQSSPath.isReadable() )
|
||||||
{
|
{
|
||||||
QFile File(importQSSPath);
|
QFile File(importQSSPath);
|
||||||
|
Loading…
Reference in New Issue
Block a user