From 27bc64e63fcba4c0a1f52dae1934de7e5533dff7 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Tue, 11 Feb 2020 15:36:30 +0100 Subject: [PATCH] [libcalamares] C++ style, warnings-- --- src/libcalamares/locale/Label.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/libcalamares/locale/Label.cpp b/src/libcalamares/locale/Label.cpp index e526b633d..2f35d6b03 100644 --- a/src/libcalamares/locale/Label.cpp +++ b/src/libcalamares/locale/Label.cpp @@ -34,9 +34,10 @@ Label::Label( QObject* parent ) } Label::Label( const QString& locale, LabelFormat format, QObject* parent ) - : m_locale( Label::getLocale( locale ) ) + : QObject( parent ) + , m_locale( Label::getLocale( locale ) ) , m_localeId( locale ) - , QObject( parent ) + { setLabels( locale, format ); }