aboutsummaryrefslogtreecommitdiffstats
path: root/qthelper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qthelper.cpp')
-rw-r--r--qthelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qthelper.cpp b/qthelper.cpp
index acdb7c2ee..6f15517d4 100644
--- a/qthelper.cpp
+++ b/qthelper.cpp
@@ -6,7 +6,7 @@
#include <QFileDialog>
#include <QDebug>
-#define tr(_arg) mainWindow()->information()->tr(_arg)
+#define tr(_arg) MainWindow::instance()->information()->tr(_arg)
DiveComputerList::DiveComputerList()
{