[TD]remove spurious mouseReleaseEvent (fix #17519)

This commit is contained in:
wandererfan
2024-10-27 10:16:30 -04:00
committed by Chris Hennes
parent cc2ba4c67d
commit 02ae2bdd3f
2 changed files with 0 additions and 10 deletions

View File

@@ -130,15 +130,6 @@ void QGSPage::mousePressEvent(QGraphicsSceneMouseEvent * event)
QGraphicsScene::mousePressEvent(event);
}
void QGSPage::mouseReleaseEvent(QGraphicsSceneMouseEvent * event)
{
Qt::KeyboardModifiers originalModifiers = event->modifiers();
if ((event->button() == Qt::LeftButton) && PreferencesGui::multiSelection()) {
event->setModifiers(originalModifiers | Qt::ControlModifier);
}
QGraphicsScene::mouseReleaseEvent(event);
}
//! returns true if clicking on the item should clear the selection
bool QGSPage::itemClearsSelection(int itemTypeIn)

View File

@@ -152,7 +152,6 @@ public:
protected:
void mousePressEvent(QGraphicsSceneMouseEvent *event) override;
void mouseReleaseEvent(QGraphicsSceneMouseEvent *event) override;
QColor getBackgroundColor();
bool orphanExists(const char* viewName, const std::vector<App::DocumentObject*>& list);