r23965 by jghali - Remove useless code already commented out
scribus-commit
scribus-commit at lists.scribus.net
Thu Jul 30 19:40:06 UTC 2020
Author: jghali
Date: Thu Jul 30 19:40:06 2020
New Revision: 23965
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23965
Log:
Remove useless code already commented out
Modified:
trunk/Scribus/scribus/canvasmode.cpp
Modified: trunk/Scribus/scribus/canvasmode.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23965&path=/trunk/Scribus/scribus/canvasmode.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasmode.cpp (original)
+++ trunk/Scribus/scribus/canvasmode.cpp Thu Jul 30 19:40:06 2020
@@ -889,7 +889,6 @@
{
int kk = e->key();
Qt::KeyboardModifiers buttonModifiers = e->modifiers();
-// QString uc = e->text();
ScribusMainWindow* mainWindow = m_view->m_ScMW;
QList<QMdiSubWindow *> windows;
@@ -903,13 +902,7 @@
if (m_keyRepeat)
return;
m_keyRepeat = true;
-// int keyMod=0;
-// if (e->modifiers() & Qt::ShiftModifier)
-// keyMod |= Qt::SHIFT;
-// if (e->modifiers() & Qt::ControlModifier)
-// keyMod |= Qt::CTRL;
-// if (e->modifiers() & Qt::AltModifier)
-// keyMod |= Qt::ALT;
+
//User presses escape and we have a doc open, and we have an item selected
if (kk == Qt::Key_Escape)
{
More information about the scribus-commit
mailing list