r25023 by jghali - More deprecated calls replacement
scribus-commit
scribus-commit at lists.scribus.net
Sat Mar 12 17:53:12 UTC 2022
Author: jghali
Date: Sat Mar 12 17:53:11 2022
New Revision: 25023
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=25023
Log:
More deprecated calls replacement
Modified:
trunk/Scribus/scribus/ui/hruler.cpp
Modified: trunk/Scribus/scribus/ui/hruler.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=25023&path=/trunk/Scribus/scribus/ui/hruler.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/hruler.cpp (original)
+++ trunk/Scribus/scribus/ui/hruler.cpp Sat Mar 12 17:53:11 2022
@@ -399,7 +399,7 @@
m_mouseX = mousePos.x();
return;
}
- if ((!m_mousePressed) && (m->y() < height()) && (m->y() > 0) && (mousePos.x() > colStart - 2 * m_doc->guidesPrefs().grabRadius) && (mousePos.x() < colEnd + 2 * m_doc->guidesPrefs().grabRadius))
+ if ((!m_mousePressed) && (mousePos.y() < height()) && (mousePos.y() > 0) && (mousePos.x() > colStart - 2 * m_doc->guidesPrefs().grabRadius) && (mousePos.x() < colEnd + 2 * m_doc->guidesPrefs().grabRadius))
{
setCursor(IconManager::instance().loadCursor("tab.png", 3));
switch (findRulerHandle(m->pos(), m_doc->guidesPrefs().grabRadius))
More information about the scribus-commit
mailing list