aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/qt_sdl/PowerManagement
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/qt_sdl/PowerManagement')
-rw-r--r--src/frontend/qt_sdl/PowerManagement/PowerManagementDialog.cpp2
-rw-r--r--src/frontend/qt_sdl/PowerManagement/PowerManagementDialog.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/frontend/qt_sdl/PowerManagement/PowerManagementDialog.cpp b/src/frontend/qt_sdl/PowerManagement/PowerManagementDialog.cpp
index 1d69988..14ccd51 100644
--- a/src/frontend/qt_sdl/PowerManagement/PowerManagementDialog.cpp
+++ b/src/frontend/qt_sdl/PowerManagement/PowerManagementDialog.cpp
@@ -30,6 +30,8 @@
#include <QtDebug>
+using namespace melonDS;
+
PowerManagementDialog* PowerManagementDialog::currentDlg = nullptr;
PowerManagementDialog::PowerManagementDialog(QWidget* parent) : QDialog(parent), ui(new Ui::PowerManagementDialog)
diff --git a/src/frontend/qt_sdl/PowerManagement/PowerManagementDialog.h b/src/frontend/qt_sdl/PowerManagement/PowerManagementDialog.h
index 0302586..cd2954a 100644
--- a/src/frontend/qt_sdl/PowerManagement/PowerManagementDialog.h
+++ b/src/frontend/qt_sdl/PowerManagement/PowerManagementDialog.h
@@ -67,7 +67,7 @@ private:
bool inited;
bool oldDSBatteryLevel;
- u8 oldDSiBatteryLevel;
+ melonDS::u8 oldDSiBatteryLevel;
bool oldDSiBatteryCharging;
void updateDSBatteryLevelControls();