-rw-r--r-- | library/backend/rohfeedback.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/backend/rohfeedback.cpp b/library/backend/rohfeedback.cpp index fa2a636..32e77c8 100644 --- a/library/backend/rohfeedback.cpp +++ b/library/backend/rohfeedback.cpp | |||
@@ -49,20 +49,20 @@ RoHFeedback::RoHFeedback() : | |||
49 | connect( &Timer, SIGNAL( timeout() ), this, SLOT( iconShow() ) ); | 49 | connect( &Timer, SIGNAL( timeout() ), this, SLOT( iconShow() ) ); |
50 | 50 | ||
51 | if( Imgs[0] == 0 ) { | 51 | if( Imgs[0] == 0 ) { |
52 | QString S; | 52 | QString S; |
53 | 53 | ||
54 | 54 | ||
55 | for( int i = 0; i < NOOFICONS ; i ++ ) { | 55 | for( int i = 0; i < NOOFICONS ; i ++ ) { |
56 | Imgs[i] = new QPixmap( Resource::loadPixmap( | 56 | Imgs[i] = new QPixmap( Resource::loadPixmap( |
57 | "RoH/star/"+ QString::number(i+1) + ".png" )); | 57 | "RoH/star/"+ QString::number(i+1) )); |
58 | Masks[i] = new QBitmap(); | 58 | Masks[i] = new QBitmap(); |
59 | (*Masks[i]) = Resource::loadPixmap( | 59 | (*Masks[i]) = Resource::loadPixmap( |
60 | "RoH/star/"+QString::number(i+1) + "-mask.png" ); | 60 | "RoH/star/"+QString::number(i+1) + "-mask" ); |
61 | } | 61 | } |
62 | } | 62 | } |
63 | 63 | ||
64 | IconWidth = Imgs[0]->size().width(); | 64 | IconWidth = Imgs[0]->size().width(); |
65 | IconHeight = Imgs[0]->size().height(); | 65 | IconHeight = Imgs[0]->size().height(); |
66 | 66 | ||
67 | resize( IconWidth, IconHeight ); | 67 | resize( IconWidth, IconHeight ); |
68 | } | 68 | } |