summaryrefslogtreecommitdiff
path: root/library
authorzecke <zecke>2005-02-24 21:05:58 (UTC)
committer zecke <zecke>2005-02-24 21:05:58 (UTC)
commit8cddb795296ddc1f9bd3203a9441c555a565f476 (patch) (side-by-side diff)
tree7820686578c4b8dbd3c4b3b56f405f2fb21643d7 /library
parent5bb50abc6c40e815714676a4a1505bc393c49b13 (diff)
downloadopie-8cddb795296ddc1f9bd3203a9441c555a565f476.zip
opie-8cddb795296ddc1f9bd3203a9441c555a565f476.tar.gz
opie-8cddb795296ddc1f9bd3203a9441c555a565f476.tar.bz2
.png will be appened and this way we force Resource to parse all
AppLnks Stop that and improve speed and memory consumption
Diffstat (limited to 'library') (more/less context) (ignore whitespace changes)
-rw-r--r--library/backend/rohfeedback.cpp4
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
@@ -51,16 +51,16 @@ RoHFeedback::RoHFeedback() :
if( Imgs[0] == 0 ) {
QString S;
for( int i = 0; i < NOOFICONS ; i ++ ) {
Imgs[i] = new QPixmap( Resource::loadPixmap(
- "RoH/star/"+ QString::number(i+1) + ".png" ));
+ "RoH/star/"+ QString::number(i+1) ));
Masks[i] = new QBitmap();
(*Masks[i]) = Resource::loadPixmap(
- "RoH/star/"+QString::number(i+1) + "-mask.png" );
+ "RoH/star/"+QString::number(i+1) + "-mask" );
}
}
IconWidth = Imgs[0]->size().width();
IconHeight = Imgs[0]->size().height();