Include cursor theme name and size in support info

It might be useful while triaging cursor related issues.
This commit is contained in:
Vlad Zahorodnii 2020-10-28 21:06:16 +02:00
parent f397f072df
commit ae883aaa2d

View file

@ -1480,6 +1480,13 @@ QString Workspace::supportInformation() const
support.append(kwinApp()->platform()->supportInformation());
support.append(QStringLiteral("\n"));
const Cursor *cursor = Cursors::self()->mouse();
support.append(QLatin1String("Cursor\n"));
support.append(QLatin1String("======\n"));
support.append(QLatin1String("themeName: ") + cursor->themeName() + QLatin1Char('\n'));
support.append(QLatin1String("themeSize: ") + QString::number(cursor->themeSize()) + QLatin1Char('\n'));
support.append(QLatin1Char('\n'));
support.append(QStringLiteral("Options\n"));
support.append(QStringLiteral("=======\n"));
const QMetaObject *metaOptions = options->metaObject();