forked from qt-creator/qt-creator
QtVersionManager: Fix a warning about missing initializer
It fixes the following warning: warning: missing initializer for member ‘QtSupport::Internal::ExampleSetModel::ExtraExampleSet::qtVersion’ Amendsbdfa412b14Change-Id: Ieb984664953f53d458297970e09678c499a26197 Reviewed-by: Eike Ziller <eike.ziller@qt.io> (cherry picked from commita5ad722184) Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
@@ -31,7 +31,7 @@ public:
|
|||||||
// qtVersion is set by recreateModel for extra sets that correspond to actual Qt versions.
|
// qtVersion is set by recreateModel for extra sets that correspond to actual Qt versions.
|
||||||
// This is needed for the decision to show categories or not based on the Qt version
|
// This is needed for the decision to show categories or not based on the Qt version
|
||||||
// (which is not ideal).
|
// (which is not ideal).
|
||||||
QVersionNumber qtVersion;
|
QVersionNumber qtVersion = {};
|
||||||
};
|
};
|
||||||
static QVector<ExtraExampleSet> pluginRegisteredExampleSets();
|
static QVector<ExtraExampleSet> pluginRegisteredExampleSets();
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
|
|
||||||
#include "baseqtversion.h"
|
#include "baseqtversion.h"
|
||||||
#include "exampleslistmodel.h"
|
#include "exampleslistmodel.h"
|
||||||
#include "qtkitinformation.h"
|
|
||||||
#include "qtsupportconstants.h"
|
#include "qtsupportconstants.h"
|
||||||
#include "qtversionfactory.h"
|
#include "qtversionfactory.h"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user