-rw-r--r-- | library/qpeapplication.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp index a55f5f9..c154689 100644 --- a/library/qpeapplication.cpp +++ b/library/qpeapplication.cpp | |||
@@ -1276,15 +1276,15 @@ void QPEApplication::internalSetStyle( const QString &style ) | |||
1276 | */ | 1276 | */ |
1277 | void QPEApplication::prepareForTermination(bool willrestart) | 1277 | void QPEApplication::prepareForTermination(bool willrestart) |
1278 | { | 1278 | { |
1279 | if ( willrestart ) { | 1279 | if ( willrestart ) { |
1280 | // Draw a big wait icon, the image can be altered in later revisions | 1280 | // Draw a big wait icon, the image can be altered in later revisions |
1281 | //QWidget *d = QApplication::desktop(); | 1281 | //QWidget *d = QApplication::desktop(); |
1282 | QImage img = Resource::loadImage( "wait" ); | 1282 | QImage img = Resource::loadImage( "launcher/new_wait" ); |
1283 | QPixmap pix; | 1283 | QPixmap pix; |
1284 | pix.convertFromImage(img.smoothScale(3*img.width(), 3*img.height())); | 1284 | pix.convertFromImage(img.smoothScale(1*img.width(), 1*img.height())); |
1285 | QLabel *lblWait = new QLabel(0, "wait hack!", QWidget::WStyle_Customize | | 1285 | QLabel *lblWait = new QLabel(0, "wait hack!", QWidget::WStyle_Customize | |
1286 | QWidget::WStyle_NoBorder | QWidget::WStyle_Tool ); | 1286 | QWidget::WStyle_NoBorder | QWidget::WStyle_Tool ); |
1287 | lblWait->setPixmap( pix ); | 1287 | lblWait->setPixmap( pix ); |
1288 | lblWait->setAlignment( QWidget::AlignCenter ); | 1288 | lblWait->setAlignment( QWidget::AlignCenter ); |
1289 | lblWait->show(); | 1289 | lblWait->show(); |
1290 | lblWait->showMaximized(); | 1290 | lblWait->showMaximized(); |