-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 71ec5b3..bf353d4 100644 --- a/library/qpeapplication.cpp +++ b/library/qpeapplication.cpp @@ -1064,44 +1064,44 @@ void QPEApplication::setDefaultRotation( int r ) } #endif } } #include <qgfx_qws.h> #include <qwindowsystem_qws.h> #include <qpixmapcache.h> extern void qws_clearLoadedFonts(); -inline void QPEApplication::setCurrentMode( int x, int y, int depth ) +void QPEApplication::setCurrentMode( int x, int y, int depth ) { // Reset the caches qws_clearLoadedFonts(); QPixmapCache::clear(); // Change the screen mode qt_screen->setMode(x, y, depth); if ( qApp->type() == GuiServer ) { // Reconfigure the GuiServer qwsServer->beginDisplayReconfigure(); qwsServer->endDisplayReconfigure(); // Get all the running apps to reset QCopEnvelope env( "QPE/System", "reset()" ); } } -inline void QPEApplication::reset() { +void QPEApplication::reset() { // Reconnect to the screen qt_screen->disconnect(); qt_screen->connect( QString::null ); // Redraw everything applyStyle(); } /*! \internal */ void QPEApplication::applyStyle() |