forked from qt-creator/qt-creator
Fix more krazy warnings.
This commit is contained in:
@@ -382,7 +382,7 @@ void LiveSelectionTool::clear()
|
||||
|
||||
void LiveSelectionTool::selectedItemsChanged(const QList<QGraphicsItem*> &itemList)
|
||||
{
|
||||
foreach (QWeakPointer<QGraphicsObject> obj, m_selectedItemList) {
|
||||
foreach (const QWeakPointer<QGraphicsObject> &obj, m_selectedItemList) {
|
||||
if (!obj.isNull()) {
|
||||
disconnect(obj.data(), SIGNAL(xChanged()), this, SLOT(repaintBoundingRects()));
|
||||
disconnect(obj.data(), SIGNAL(yChanged()), this, SLOT(repaintBoundingRects()));
|
||||
|
||||
Reference in New Issue
Block a user