QtVersionManager: Fix a warning about missing initializer

It fixes the following warning:
warning: missing initializer for member
‘QtSupport::Internal::ExampleSetModel::ExtraExampleSet::qtVersion’

Amends bdfa412b14

Change-Id: Ieb984664953f53d458297970e09678c499a26197
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Jarek Kobus
2023-04-19 10:17:48 +02:00
parent 9eb826f393
commit a5ad722184
2 changed files with 1 additions and 2 deletions

View File

@@ -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();

View File

@@ -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"