diff options
Diffstat (limited to 'src/qt5gtk2-style/qgtkstyle_p.cpp')
| -rw-r--r-- | src/qt5gtk2-style/qgtkstyle_p.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt5gtk2-style/qgtkstyle_p.cpp b/src/qt5gtk2-style/qgtkstyle_p.cpp index 4ac2a2b..1bdf58c 100644 --- a/src/qt5gtk2-style/qgtkstyle_p.cpp +++ b/src/qt5gtk2-style/qgtkstyle_p.cpp @@ -1,6 +1,6 @@ /*************************************************************************** * Copyright (C) 2015 The Qt Company Ltd. * - * Copyright (C) 2016-2022 Ilya Kotov, forkotov02@ya.ru * + * Copyright (C) 2016-2023 Ilya Kotov, forkotov02@ya.ru * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -386,7 +386,7 @@ bool QGtkStylePrivate::isKDE4Session() { static int version = -1; if (version == -1) - version = qgetenv("KDE_SESSION_VERSION").toInt(); + version = qEnvironmentVariableIntValue("KDE_SESSION_VERSION"); return (version == 4); } |
