Revision 548441

Go back to digest for 11th June 2006

Optimization in Utilities

Tom Albers committed changes in /trunk/playground/utils/rsibreak/src:

Since smootscale is time consuming, limit the loading of images to a bare minimum. Before this commit a new image was loaded when the config was entered (minimize() to make sure there was no active break) and when leaving the dialog another image was loaded (minimize() to reset timers). After this commit, only an image is loaded when needed. Hence the dialogs appear faster and when dialog is closed, rsibreak is immediatly picking up its task.

File Changes

Modified 4 files
  • /trunk/playground/utils/rsibreak/src
  •   /rsitimer.cpp
  •   /rsitimer.h
  •   /rsiwidget.cpp
  •   /rsiwidget.h
4 files changed in total