aboutsummaryrefslogtreecommitdiffstats
path: root/HomeScreenSimulator/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'HomeScreenSimulator/src/mainwindow.cpp')
-rw-r--r--HomeScreenSimulator/src/mainwindow.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/HomeScreenSimulator/src/mainwindow.cpp b/HomeScreenSimulator/src/mainwindow.cpp
index 6c0dc2f..5bb1487 100644
--- a/HomeScreenSimulator/src/mainwindow.cpp
+++ b/HomeScreenSimulator/src/mainwindow.cpp
@@ -20,7 +20,7 @@
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
mp_ui(new Ui::MainWindow),
- mp_dBusDayNightModeAdapter(0),
+ mp_dBusDayNightModeAdaptor(0),
mp_dBusStatusBarProxy(0),
mp_dBusPopupProxy(0),
mp_dBusProximityProxy(0),
@@ -32,7 +32,7 @@ MainWindow::MainWindow(QWidget *parent) :
QDBusConnection dbus = QDBusConnection::sessionBus();
// publish dbus day night mode interface
- mp_dBusDayNightModeAdapter = new DaynightmodeAdaptor((QObject*)this);
+ mp_dBusDayNightModeAdaptor = new DaynightmodeAdaptor((QObject*)this);
dbus.registerService("org.agl.homescreen.simulator");
dbus.registerObject("/", this);
@@ -72,9 +72,9 @@ MainWindow::~MainWindow()
delete mp_dBusPopupProxy;
delete mp_dBusStatusBarProxy;
- if (0 == mp_dBusDayNightModeAdapter)
+ if (0 == mp_dBusDayNightModeAdaptor)
{
- delete mp_dBusDayNightModeAdapter;
+ delete mp_dBusDayNightModeAdaptor;
}
delete mp_ui;
}