From f3de0114f45c7ff073f29cf0822df5161bb5c3b3 Mon Sep 17 00:00:00 2001 From: Shatur95 Date: Thu, 15 Oct 2020 23:16:21 +0300 Subject: Remove extra Q_D No longer needed as getUsername() is now static. --- singleapplication.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/singleapplication.cpp b/singleapplication.cpp index 246de25..a4f842e 100644 --- a/singleapplication.cpp +++ b/singleapplication.cpp @@ -224,7 +224,6 @@ QString SingleApplication::primaryUser() */ QString SingleApplication::currentUser() { - Q_D( SingleApplication ); return SingleApplicationPrivate::getUsername(); } -- cgit v1.2.1