diff options
author | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-11-04 03:45:46 (GMT) |
---|---|---|
committer | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-11-04 03:49:32 (GMT) |
commit | adc6d4776e6570fa6e6d5d2e4e40fe7eab0ebb99 (patch) | |
tree | dc3db3ec8ae56fc8f13440a550e55959d4bf40bc /examples/network/bearermonitor/sessionwidget.cpp | |
parent | ab672d88f906b0d6f2d45f9ebbfbf12fdcfba51e (diff) | |
download | Qt-adc6d4776e6570fa6e6d5d2e4e40fe7eab0ebb99.zip Qt-adc6d4776e6570fa6e6d5d2e4e40fe7eab0ebb99.tar.gz Qt-adc6d4776e6570fa6e6d5d2e4e40fe7eab0ebb99.tar.bz2 |
Fix bearermonitor when building for Maemo in scratchbox.
Use the correct ui file when building in scratchbox.
Remove use of message boxes.
Diffstat (limited to 'examples/network/bearermonitor/sessionwidget.cpp')
-rw-r--r-- | examples/network/bearermonitor/sessionwidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/network/bearermonitor/sessionwidget.cpp b/examples/network/bearermonitor/sessionwidget.cpp index 5ec9d53..51de0f2 100644 --- a/examples/network/bearermonitor/sessionwidget.cpp +++ b/examples/network/bearermonitor/sessionwidget.cpp @@ -74,7 +74,7 @@ SessionWidget::SessionWidget(const QNetworkConfiguration &config, QWidget *paren this, SLOT(closeSession())); connect(stopSessionButton, SIGNAL(clicked()), this, SLOT(stopSession())); -#if defined(Q_WS_MAEMO_5) || defined(Q_WS_MAEMO_6) +#ifdef MAEMO_UI connect(deleteSessionButton, SIGNAL(clicked()), this, SLOT(deleteSession())); #endif @@ -94,7 +94,7 @@ void SessionWidget::timerEvent(QTimerEvent *e) } } -#if defined(Q_WS_MAEMO_5) || defined(Q_WS_MAEMO_6) +#ifdef MAEMO_UI void SessionWidget::deleteSession() { delete this; |