summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--library/qpeapplication.cpp4
-rw-r--r--pics/launcher/new_wait.pngbin0 -> 1904 bytes
2 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
@@ -1258,51 +1258,51 @@ void QPEApplication::internalSetStyle( const QString &style )
setStyle( new QPlatinumStyle );
}
#endif
#ifndef QT_NO_STYLE_MOTIF
else if ( style == "Motif" ) {
setStyle( new QMotifStyle );
}
#endif
#ifndef QT_NO_STYLE_MOTIFPLUS
else if ( style == "MotifPlus" ) {
setStyle( new QMotifPlusStyle );
}
#endif
#endif
}
/*!
\internal
*/
void QPEApplication::prepareForTermination(bool willrestart)
{
if ( willrestart ) {
// Draw a big wait icon, the image can be altered in later revisions
// QWidget *d = QApplication::desktop();
- QImage img = Resource::loadImage( "wait" );
+ QImage img = Resource::loadImage( "launcher/new_wait" );
QPixmap pix;
- pix.convertFromImage(img.smoothScale(3*img.width(), 3*img.height()));
+ pix.convertFromImage(img.smoothScale(1*img.width(), 1*img.height()));
QLabel *lblWait = new QLabel(0, "wait hack!", QWidget::WStyle_Customize |
QWidget::WStyle_NoBorder | QWidget::WStyle_Tool );
lblWait->setPixmap( pix );
lblWait->setAlignment( QWidget::AlignCenter );
lblWait->show();
lblWait->showMaximized();
}
#ifndef SINGLE_APP
{ QCopEnvelope envelope("QPE/System", "forceQuit()"); }
processEvents(); // ensure the message goes out.
sleep(1); // You have 1 second to comply.
#endif
}
/*!
\internal
*/
void QPEApplication::shutdown()
{
// Implement in server's QPEApplication subclass
}
/*!
\internal
diff --git a/pics/launcher/new_wait.png b/pics/launcher/new_wait.png
new file mode 100644
index 0000000..ef65056
--- a/dev/null
+++ b/pics/launcher/new_wait.png
Binary files differ