r22755 by jghali - Remove some commented out code
scribus-commit
scribus-commit at lists.scribus.net
Thu Nov 8 12:36:41 UTC 2018
Author: jghali
Date: Thu Nov 8 12:36:41 2018
New Revision: 22755
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22755
Log:
Remove some commented out code
Modified:
trunk/Scribus/scribus/canvasmode_normal.cpp
Modified: trunk/Scribus/scribus/canvasmode_normal.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22755&path=/trunk/Scribus/scribus/canvasmode_normal.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasmode_normal.cpp (original)
+++ trunk/Scribus/scribus/canvasmode_normal.cpp Thu Nov 8 12:36:41 2018
@@ -1218,7 +1218,6 @@
}
if (GetItem(&currItem))
{
- // qApp->changeOverrideCursor(QCursor(Qt::OpenHandCursor));
if (m_doc->m_Selection->count() > 1)
{
m_doc->m_Selection->setGroupRect();
@@ -1226,10 +1225,7 @@
m_doc->m_Selection->getGroupRect(&x, &y, &w, &h);
m_canvas->m_viewMode.operItemMoving = false;
m_canvas->m_viewMode.operItemResizing = false;
- m_view->updateContents(QRect(static_cast<int>(x-5), static_cast<int>(y-5), static_cast<int>(w+10), static_cast<int>(h+10)));
- //Now unuseful as PropertiesPalette_XYZ::setCurrentItem() handles multiple selection
- //m_ScMW->propertiesPalette->setXY(x,y);
- //m_ScMW->propertiesPalette->setBH(w,h);
+ m_view->updateContents(QRect(static_cast<int>(x - 5), static_cast<int>(y - 5), static_cast<int>(w + 10), static_cast<int>(h + 10)));
}
/*else
currItem->emitAllToGUI();*/
More information about the scribus-commit
mailing list