scribus-commit
2018-11-08 12:36:41 UTC
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();*/
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();*/