r25077 by jghali - Fix deprecation warning

scribus-commit scribus-commit at lists.scribus.net
Tue Apr 12 21:21:52 UTC 2022


Author: jghali
Date: Tue Apr 12 21:21:52 2022
New Revision: 25077

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=25077
Log:
Fix deprecation warning

Modified:
    trunk/Scribus/scribus/ui/tablesideselector.cpp

Modified: trunk/Scribus/scribus/ui/tablesideselector.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=25077&path=/trunk/Scribus/scribus/ui/tablesideselector.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/tablesideselector.cpp	(original)
+++ trunk/Scribus/scribus/ui/tablesideselector.cpp	Tue Apr 12 21:21:52 2022
@@ -101,14 +101,14 @@
 
 void TableSideSelector::mousePressEvent(QMouseEvent* event)
 {
-	m_selection ^= closestSide(event->localPos());
+	m_selection ^= closestSide(event->position());
 	update();
 	emit selectionChanged();
 }
 
 void TableSideSelector::mouseMoveEvent(QMouseEvent* event)
 {
-	m_highlighted = closestSide(event->localPos());
+	m_highlighted = closestSide(event->position());
 	update();
 }
 




More information about the scribus-commit mailing list