mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 09:55:37 -04:00
[license] Fix compiler warnings
- out-of-order and incomplete initialization - documentation style - missing assignment operator
This commit is contained in:
parent
516b3b4b6c
commit
a68a381481
2 changed files with 4 additions and 2 deletions
|
@ -87,8 +87,9 @@ LicenseEntry::isLocal() const
|
||||||
|
|
||||||
LicensePage::LicensePage(QWidget *parent)
|
LicensePage::LicensePage(QWidget *parent)
|
||||||
: QWidget( parent )
|
: QWidget( parent )
|
||||||
, ui( new Ui::LicensePage )
|
|
||||||
, m_isNextEnabled( false )
|
, m_isNextEnabled( false )
|
||||||
|
, m_allLicensesOptional( false )
|
||||||
|
, ui( new Ui::LicensePage )
|
||||||
{
|
{
|
||||||
ui->setupUi( this );
|
ui->setupUi( this );
|
||||||
|
|
||||||
|
|
|
@ -51,6 +51,7 @@ struct LicenseEntry
|
||||||
|
|
||||||
LicenseEntry( const QVariantMap& conf );
|
LicenseEntry( const QVariantMap& conf );
|
||||||
LicenseEntry( const LicenseEntry& ) = default;
|
LicenseEntry( const LicenseEntry& ) = default;
|
||||||
|
LicenseEntry& operator=( const LicenseEntry& ) = default;
|
||||||
|
|
||||||
bool isValid() const { return !m_id.isEmpty(); }
|
bool isValid() const { return !m_id.isEmpty(); }
|
||||||
bool isRequired() const { return m_required; }
|
bool isRequired() const { return m_required; }
|
||||||
|
@ -94,7 +95,7 @@ private:
|
||||||
void updateGlobalStorage( bool v );
|
void updateGlobalStorage( bool v );
|
||||||
|
|
||||||
bool m_isNextEnabled;
|
bool m_isNextEnabled;
|
||||||
bool m_allLicensesOptional; //< all the licenses passed to setEntries are not-required
|
bool m_allLicensesOptional; ///< @brief all the licenses passed to setEntries are not-required
|
||||||
|
|
||||||
Ui::LicensePage* ui;
|
Ui::LicensePage* ui;
|
||||||
QList< LicenseWidget* > m_entries;
|
QList< LicenseWidget* > m_entries;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue