-rw-r--r-- | core/launcher/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/launcher/main.cpp b/core/launcher/main.cpp index 8eaea17..64fb968 100644 --- a/core/launcher/main.cpp +++ b/core/launcher/main.cpp @@ -103,5 +103,5 @@ int initApplication( int argc, char ** argv ) Network::createServer(d); -#if defined(QT_QWS_CASSIOPEIA) || defined(QT_QWS_IPAQ) || defined(QT_QWS_SL5XXX) + if ( QWSServer::mouseHandler() ->inherits("QCalibratedMouseHandler") ) { if ( !QFile::exists( "/etc/pointercal" ) ) { // Make sure calibration widget starts on top. @@ -110,5 +110,5 @@ int initApplication( int argc, char ** argv ) delete cal; } -#endif + } d->show(); |