From 3f2cc854f49591d49c9a7a9064d1216cad68b22f Mon Sep 17 00:00:00 2001 From: Raul Rodrigo Segura Date: Mon, 21 May 2018 09:22:28 +0200 Subject: [PATCH] Set type to variable and import library --- src/calamares/CalamaresWindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/calamares/CalamaresWindow.cpp b/src/calamares/CalamaresWindow.cpp index 6fc0a3622..31f1b5c21 100644 --- a/src/calamares/CalamaresWindow.cpp +++ b/src/calamares/CalamaresWindow.cpp @@ -35,6 +35,7 @@ #include #include #include +#include CalamaresWindow::CalamaresWindow( QWidget* parent ) : QWidget( parent ) @@ -161,7 +162,7 @@ CalamaresWindow::CalamaresWindow( QWidget* parent ) QString brandingQSSDescriptorPath = QString( "/etc/calamares/branding/%1/stylesheet.qss" ) .arg( brandingComponentName ); - importQSSPath = QFileInfo( brandingQSSDescriptorPath ); + QFileInfo importQSSPath = QFileInfo( brandingQSSDescriptorPath ); if ( importQSSPath.exists() && importQSSPath.isReadable() ) { QFile File(importQSSPath);