aboutsummaryrefslogtreecommitdiffstats
path: root/src/qt6gtk2-style/plugin.cpp
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2025-03-12 23:59:13 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2025-03-12 23:59:13 -0400
commita9fde3a1a12e9801172e6ff75090f430ad8a8f7b (patch)
tree0ab5d7c392f5d41708a4e00db90efc80415da1fd /src/qt6gtk2-style/plugin.cpp
parenta52ba004cbbbd7adbe0b30dc8c5c45f5a675187f (diff)
New upstream version 0.4.upstream/0.4
Diffstat (limited to 'src/qt6gtk2-style/plugin.cpp')
-rw-r--r--src/qt6gtk2-style/plugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt6gtk2-style/plugin.cpp b/src/qt6gtk2-style/plugin.cpp
index 257d90b..d25aae4 100644
--- a/src/qt6gtk2-style/plugin.cpp
+++ b/src/qt6gtk2-style/plugin.cpp
@@ -1,6 +1,6 @@
/***************************************************************************
* Copyright (C) 2015 The Qt Company Ltd. *
- * Copyright (C) 2016-2024 Ilya Kotov, forkotov02@ya.ru *
+ * Copyright (C) 2016-2025 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 *
@@ -42,7 +42,7 @@ QStyle *Qt6Gtk2StylePlugin::create(const QString &key)
return nullptr;
}
- if (key == "gtk2" || key == "qt6gtk2" || key == "qt5gtk2")
+ if (key == QLatin1String("gtk2") || key == QLatin1String("qt6gtk2") || key == QLatin1String("qt5gtk2"))
return new QGtkStyle;
return nullptr;
}