aboutsummaryrefslogtreecommitdiffstats
path: root/src/qt6gtk2-qtplugin/qt6gtk2theme.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qt6gtk2-qtplugin/qt6gtk2theme.cpp')
-rw-r--r--src/qt6gtk2-qtplugin/qt6gtk2theme.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/qt6gtk2-qtplugin/qt6gtk2theme.cpp b/src/qt6gtk2-qtplugin/qt6gtk2theme.cpp
index 9fbee53..6249477 100644
--- a/src/qt6gtk2-qtplugin/qt6gtk2theme.cpp
+++ b/src/qt6gtk2-qtplugin/qt6gtk2theme.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 *
@@ -86,8 +86,7 @@ QVariant Qt6Gtk2Theme::themeHint(QPlatformTheme::ThemeHint hint) const
return gtkSetting("gtk-fallback-icon-theme");
case QPlatformTheme::StyleNames:
{
- QStringList styleNames;
- styleNames << "qt6gtk2";
+ QStringList styleNames = { QStringLiteral("qt6gtk2") };
//styleNames << QGnomeTheme::themeHint(hint).toStringList();
return styleNames;
}