diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-24 10:55:29 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-25 15:17:16 +0900 |
commit | 139b166e1af1efe1cbc0ee2cce6d5534ad042d0e (patch) | |
tree | 85788279f2894f7133ffaac44c5f69eabaec3c3e /kdesktop | |
parent | c19f68bd91790b23163fe787464984018a42a2dc (diff) | |
download | tdebase-139b166e1af1efe1cbc0ee2cce6d5534ad042d0e.tar.gz tdebase-139b166e1af1efe1cbc0ee2cce6d5534ad042d0e.zip |
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 36f2e08fd382c7042fbd3c8e7708f3ba1b9c9bd7)
Diffstat (limited to 'kdesktop')
-rw-r--r-- | kdesktop/kdiconview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kdesktop/kdiconview.cpp b/kdesktop/kdiconview.cpp index a628aaa12..391fe228d 100644 --- a/kdesktop/kdiconview.cpp +++ b/kdesktop/kdiconview.cpp @@ -1667,7 +1667,7 @@ void KDIconView::slotAboutToCreate(const TQPoint &pos, const TQValueList<TDEIO:: saveIconPosition(m_dotDirectory, m_lastDropPos.x(), m_lastDropPos.y()); int dX = m_lastDropPos.x() - m_dropPos.x(); int dY = m_lastDropPos.y() - m_dropPos.y(); - if ((QABS(dX) > QABS(dY)) || (m_lastDropPos.x() + 2*gridX > width())) + if ((TQABS(dX) > TQABS(dY)) || (m_lastDropPos.x() + 2*gridX > width())) m_lastDropPos = TQPoint(m_dropPos.x(), m_lastDropPos.y() + gridY); else m_lastDropPos = TQPoint(m_lastDropPos.x() + gridX, m_lastDropPos.y()); |