forked from qt-creator/qt-creator
QmlDesigner: Fix signed/unsigned comparison warning
plugins/qmldesigner/components/curveeditor/detail/graphicsscene.cpp:129:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (curveItem->id() == id) ~~~~~~~~~~~~~~~~^~~~~ Change-Id: I0a89701755c47b37e5ea0a0d6717d78e10bb619d Reviewed-by: Knud Dollereder <knud.dollereder@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
committed by
André Hartmann
parent
e5a3084e97
commit
fc54911441
@@ -121,7 +121,7 @@ void GraphicsScene::handleMoved(KeyframeItem *frame,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void GraphicsScene::setPinned(int id, bool pinned)
|
void GraphicsScene::setPinned(uint id, bool pinned)
|
||||||
{
|
{
|
||||||
const auto itemList = items();
|
const auto itemList = items();
|
||||||
for (auto *item : itemList) {
|
for (auto *item : itemList) {
|
||||||
|
@@ -69,7 +69,7 @@ public:
|
|||||||
|
|
||||||
void handleMoved(KeyframeItem *frame, HandleSlot handle, double angle, double deltaLength);
|
void handleMoved(KeyframeItem *frame, HandleSlot handle, double angle, double deltaLength);
|
||||||
|
|
||||||
void setPinned(int id, bool pinned);
|
void setPinned(uint id, bool pinned);
|
||||||
|
|
||||||
std::vector<CurveItem *> takePinnedItems();
|
std::vector<CurveItem *> takePinnedItems();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user