r23966 by jghali - Remove unused code

scribus-commit scribus-commit at lists.scribus.net
Thu Jul 30 19:42:07 UTC 2020


Author: jghali
Date: Thu Jul 30 19:42:07 2020
New Revision: 23966

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23966
Log:
Remove unused code

Modified:
    trunk/Scribus/scribus/scribus.cpp

Modified: trunk/Scribus/scribus/scribus.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23966&path=/trunk/Scribus/scribus/scribus.cpp
==============================================================================
--- trunk/Scribus/scribus/scribus.cpp	(original)
+++ trunk/Scribus/scribus/scribus.cpp	Thu Jul 30 19:42:07 2020
@@ -1770,13 +1770,7 @@
 	if (m_keyrep)
 		return;
 	m_keyrep = true;
-	int keyMod=0;
-	if (k->modifiers() & Qt::ShiftModifier)
-		keyMod |= Qt::SHIFT;
-	if (k->modifiers() & Qt::ControlModifier)
-		keyMod |= Qt::CTRL;
-	if (k->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) && (HaveDoc))
 	{




More information about the scribus-commit mailing list