aboutsummaryrefslogtreecommitdiffstats
path: root/src/qt5gtk2-qtplugin/main.cpp
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2023-10-01 22:15:28 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2023-10-01 22:15:28 -0400
commitb4aec80fb155d11cde43352cf92090ee593807c5 (patch)
treebeb8d157a191d12bacb4aaa35b665c94f4df6269 /src/qt5gtk2-qtplugin/main.cpp
parentd34bb25414f6887dd788a4f817b4da903570e66a (diff)
New upstream version 1.0.upstream/1.0upstream
Diffstat (limited to 'src/qt5gtk2-qtplugin/main.cpp')
-rw-r--r--src/qt5gtk2-qtplugin/main.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/qt5gtk2-qtplugin/main.cpp b/src/qt5gtk2-qtplugin/main.cpp
index 096a226..5084a73 100644
--- a/src/qt5gtk2-qtplugin/main.cpp
+++ b/src/qt5gtk2-qtplugin/main.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 *
@@ -35,7 +35,8 @@ public:
QPlatformTheme *Qt5Gtk2ThemePlugin::create(const QString &key, const QStringList &params)
{
Q_UNUSED(params);
- if (!key.compare(QLatin1String(Qt5Gtk2Theme::name), Qt::CaseInsensitive))
+ if (!key.compare(QLatin1String(Qt5Gtk2Theme::name), Qt::CaseInsensitive) ||
+ !key.compare(QLatin1String("qt6gtk2"), Qt::CaseInsensitive))
return new Qt5Gtk2Theme;
return 0;