r23655 by jghali - Use auto magic

scribus-commit scribus-commit at lists.scribus.net
Sun Apr 26 00:30:31 UTC 2020


Author: jghali
Date: Sun Apr 26 00:30:31 2020
New Revision: 23655

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23655
Log:
Use auto magic 

Modified:
    trunk/Scribus/scribus/prefsmanager.cpp

Modified: trunk/Scribus/scribus/prefsmanager.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23655&path=/trunk/Scribus/scribus/prefsmanager.cpp
==============================================================================
--- trunk/Scribus/scribus/prefsmanager.cpp	(original)
+++ trunk/Scribus/scribus/prefsmanager.cpp	Sun Apr 26 00:30:31 2020
@@ -512,7 +512,7 @@
 {
 	ActionManager::createDefaultShortcuts();
 	QMap<QString, QKeySequence > *map = ActionManager::defaultShortcuts();
-	for (QMap<QString, QKeySequence >::ConstIterator it = map->constBegin(); it != map->constEnd(); ++it)
+	for (auto it = map->constBegin(); it != map->constEnd(); ++it)
 	{
 		Keys& keyAction = appPrefs.keyShortcutPrefs.KeyActions[it.key()];
 		keyAction.actionName = it.key();




More information about the scribus-commit mailing list