From c86822c2f47973528b3441d633b2b9df98ed465a Mon Sep 17 00:00:00 2001 From: Boris Barbulovski Date: Wed, 12 Feb 2014 15:22:54 +0100 Subject: Replace mainWindow() with MainWindow::instance() C++ style of accessing single instance class object. Signed-off-by: Boris Barbulovski Signed-off-by: Dirk Hohndel --- qthelper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qthelper.cpp') diff --git a/qthelper.cpp b/qthelper.cpp index acdb7c2ee..6f15517d4 100644 --- a/qthelper.cpp +++ b/qthelper.cpp @@ -6,7 +6,7 @@ #include #include -#define tr(_arg) mainWindow()->information()->tr(_arg) +#define tr(_arg) MainWindow::instance()->information()->tr(_arg) DiveComputerList::DiveComputerList() { -- cgit v1.2.3-70-g09d2