Changeset 146

Show
Ignore:
Timestamp:
12/10/08 23:35:14 (20 months ago)
Author:
deu
Message:

Fix Bug #6
==========

When no steadiness hint is needed, we pass an empty QPixmap to QLabel::setPixmap() rather than passing NULL

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/widgets/qrestmainwindow.cpp

    r143 r146  
    8484        static QPixmap          redHint(":/lights/pix/red_hint.png"); 
    8585        static QPixmap          greenHint(":/lights/pix/green_hint.png"); 
     86        static QPixmap          emptyPixmap; 
    8687 
    8788 
     
    113114 
    114115                statusClear(); 
    115                 ui.steadyHint->setPixmap(NULL); 
     116                ui.steadyHint->setPixmap(emptyPixmap); 
    116117        } 
    117118}