[license] Fix compiler warnings
- out-of-order and incomplete initialization - documentation style - missing assignment operator
This commit is contained in:
parent
516b3b4b6c
commit
a68a381481
@ -87,8 +87,9 @@ LicenseEntry::isLocal() const
|
||||
|
||||
LicensePage::LicensePage(QWidget *parent)
|
||||
: QWidget( parent )
|
||||
, ui( new Ui::LicensePage )
|
||||
, m_isNextEnabled( false )
|
||||
, m_allLicensesOptional( false )
|
||||
, ui( new Ui::LicensePage )
|
||||
{
|
||||
ui->setupUi( this );
|
||||
|
||||
|
@ -51,6 +51,7 @@ struct LicenseEntry
|
||||
|
||||
LicenseEntry( const QVariantMap& conf );
|
||||
LicenseEntry( const LicenseEntry& ) = default;
|
||||
LicenseEntry& operator=( const LicenseEntry& ) = default;
|
||||
|
||||
bool isValid() const { return !m_id.isEmpty(); }
|
||||
bool isRequired() const { return m_required; }
|
||||
@ -94,7 +95,7 @@ private:
|
||||
void updateGlobalStorage( bool v );
|
||||
|
||||
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;
|
||||
QList< LicenseWidget* > m_entries;
|
||||
|
Loading…
Reference in New Issue
Block a user