mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-29 10:25:36 -04:00
Clang: reduce warnings
This commit is contained in:
parent
4643ba0adc
commit
2148538fac
4 changed files with 7 additions and 4 deletions
|
@ -172,3 +172,6 @@ CLog::~CLog()
|
|||
log( m_msg.toUtf8().data(), m_debugLevel );
|
||||
}
|
||||
|
||||
Logger::CDebug::~CDebug()
|
||||
{
|
||||
}
|
||||
|
|
|
@ -48,6 +48,7 @@ namespace Logger
|
|||
CDebug( unsigned int debugLevel = LOGDEBUG ) : CLog( debugLevel )
|
||||
{
|
||||
}
|
||||
virtual ~CDebug();
|
||||
};
|
||||
|
||||
DLLEXPORT void CalamaresLogHandler( QtMsgType type, const char* msg );
|
||||
|
|
|
@ -46,8 +46,8 @@ Settings::Settings( const QString& settingsFilePath,
|
|||
QObject* parent )
|
||||
: QObject( parent )
|
||||
, m_debug( debugMode )
|
||||
, m_promptInstall( false )
|
||||
, m_doChroot( true )
|
||||
, m_promptInstall( false )
|
||||
{
|
||||
cDebug() << "Using Calamares settings file at" << settingsFilePath;
|
||||
QFile file( settingsFilePath );
|
||||
|
|
|
@ -57,9 +57,6 @@ public:
|
|||
private:
|
||||
static Settings* s_instance;
|
||||
|
||||
bool m_debug;
|
||||
bool m_doChroot;
|
||||
|
||||
QStringList m_modulesSearchPaths;
|
||||
|
||||
QList< QMap< QString, QString > > m_customModuleInstances;
|
||||
|
@ -67,6 +64,8 @@ private:
|
|||
|
||||
QString m_brandingComponentName;
|
||||
|
||||
bool m_debug;
|
||||
bool m_doChroot;
|
||||
bool m_promptInstall;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue