[Kstars-devel] KDE/kdeedu/kstars/kstars
Alexey Khudyakov
alexey.skladnoy at gmail.com
Fri Jul 24 20:37:38 CEST 2009
SVN commit 1001999 by khudyakov:
Fix bug with keypress handling where any keypress leads to complete
map redrawing. This is time consuming.
Remove commented code which handles "frugallity". It doesn't appear
in current code.
CCMAIL: kstars-devel at kde.org
M +3 -18 skymapevents.cpp
--- trunk/KDE/kdeedu/kstars/kstars/skymapevents.cpp #1001998:1001999
@@ -421,25 +421,10 @@
case Qt::Key_G: // print Cache structure
StarComponent::m_StarBlockFactory.printStructure();
break;
- case Qt::Key_H: { // Frugal memory mode
- StarComponent::veryFrugalMem = false;
- if( StarComponent::frugalMem = !(StarComponent::frugalMem) )
- kDebug() << "Switched to frugal memory mode";
- else
- kDebug() << "Switched to generous memory mode";
- break;
- }
- case Qt::Key_I: { // Very frugal memory mode
- StarComponent::frugalMem = false;
- if( StarComponent::veryFrugalMem = !(StarComponent::veryFrugalMem) )
- kDebug() << "Switched to very frugal memory mode";
- else
- kDebug() << "Switched to generous memory mode";
-
- break;
- }
*/
-
+ default:
+ // We don't want to do anything in this case. Key is unknown
+ return;
}
setOldFocus( focus() );
More information about the Kstars-devel
mailing list