summaryrefslogtreecommitdiffstats
path: root/examples/network/bearermonitor/sessionwidget.cpp
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@digia.com>2015-02-03 14:09:23 +0100
committerTor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>2015-02-04 17:14:35 +0000
commit5432f2c7a1ff02e1ee0e07e442ceb6c12ca66098 (patch)
treeb8b4aca1b9309dfcb3618b8ee2d5560e075cff07 /examples/network/bearermonitor/sessionwidget.cpp
parentb6c03f58ce4a03d81c8bce1795179a63431f6e7d (diff)
Remove traces of the Maemo platform
Change-Id: I6b551de331aa0386ea53d8e96f50b669777d2d69 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by: Marc Mutz <marc.mutz@kdab.com> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
Diffstat (limited to 'examples/network/bearermonitor/sessionwidget.cpp')
-rw-r--r--examples/network/bearermonitor/sessionwidget.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/examples/network/bearermonitor/sessionwidget.cpp b/examples/network/bearermonitor/sessionwidget.cpp
index da134d4ac0..b40d6a7e42 100644
--- a/examples/network/bearermonitor/sessionwidget.cpp
+++ b/examples/network/bearermonitor/sessionwidget.cpp
@@ -74,10 +74,6 @@ SessionWidget::SessionWidget(const QNetworkConfiguration &config, QWidget *paren
this, SLOT(closeSession()));
connect(stopSessionButton, SIGNAL(clicked()),
this, SLOT(stopSession()));
-#ifdef MAEMO_UI
- connect(deleteSessionButton, SIGNAL(clicked()),
- this, SLOT(deleteSession()));
-#endif
}
SessionWidget::~SessionWidget()
@@ -94,13 +90,6 @@ void SessionWidget::timerEvent(QTimerEvent *e)
}
}
-#ifdef MAEMO_UI
-void SessionWidget::deleteSession()
-{
- delete this;
-}
-#endif
-
void SessionWidget::updateSession()
{
updateSessionState(session->state());