forked from qt-creator/qt-creator
fix warning
Change-Id: I36ef0823a7e0b786b1315df4e3d48fabb99c16f4 Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
@@ -1087,7 +1087,7 @@ static int counterClockWise(const std::vector<QPointF> &points)
|
||||
};
|
||||
|
||||
const int m = findLR(points);
|
||||
const int n = points.size();
|
||||
const int n = static_cast<int>(points.size());
|
||||
|
||||
// Determine previous and next point to m (the lowest, rightmost point).
|
||||
const QPointF a = points[(m + (n - 1)) % n];
|
||||
|
@@ -89,7 +89,7 @@ void ItemLibraryAssetImporter::importQuick3D(const QStringList &inputFiles,
|
||||
if (m_qmlPuppetProcesses.empty()) {
|
||||
finalizeQuick3DImport();
|
||||
} else {
|
||||
m_qmlPuppetCount = m_qmlPuppetProcesses.size();
|
||||
m_qmlPuppetCount = static_cast<int>(m_qmlPuppetProcesses.size());
|
||||
const QString progressTitle = tr("Generating icons.");
|
||||
addInfo(progressTitle);
|
||||
notifyProgress(0, progressTitle);
|
||||
|
Reference in New Issue
Block a user