summaryrefslogtreecommitdiff
authoreilers <eilers>2004-07-17 17:38:41 (UTC)
committer eilers <eilers>2004-07-17 17:38:41 (UTC)
commit93b36ee18682bdeb932e7319e25e7cd2ba12eed2 (patch) (side-by-side diff)
tree230125e15eb483c1d6418d86dead707dc4ce2d17
parentb822cb8e0f2b1adc970eee9e40935adaf530e41b (diff)
downloadopie-93b36ee18682bdeb932e7319e25e7cd2ba12eed2.zip
opie-93b36ee18682bdeb932e7319e25e7cd2ba12eed2.tar.gz
opie-93b36ee18682bdeb932e7319e25e7cd2ba12eed2.tar.bz2
Hmph.. No comment .. Thanks Zecke !
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--library/qpeapplication.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp
index cfe0497..b1c8750 100644
--- a/library/qpeapplication.cpp
+++ b/library/qpeapplication.cpp
@@ -1293,49 +1293,49 @@ void QPEApplication::setCurrentMode( int x, int y, int depth )
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()" );
}
}
void QPEApplication::reset() {
// Reconnect to the screen
qt_screen->disconnect();
qt_screen->connect( QString::null );
// Redraw everything
applyStyle();
}
-#if (QT_VERSION < 238) & Q_OS_MACX
+#if (QT_VERSION < 238) && Q_OS_MACX
bool qt_left_hand_scrollbars = false;
#else
#ifdef Q_OS_MACX
#define WEAK_SYMBOL __attribute__((weak_import))
#else
#define WEAK_SYMBOL __attribute__((weak))
#endif
extern bool qt_left_hand_scrollbars WEAK_SYMBOL;
#endif
/*!
\internal
*/
void QPEApplication::applyStyle()
{
Config config( "qpe" );
config.setGroup( "Appearance" );
#if QT_VERSION > 233
#if !defined(OPIE_NO_OVERRIDE_QT)
// don't block ourselves ...
Opie::force_appearance = 0;
static QString appname = Opie::binaryName ( );