Utils: Remove unused Theme::proxyTheme()

Last and only reference to it was removed together with pre Qt 6.2 code
in Tracing/QmlProfiler/PerfProfiler/CtfVisualizer.

Amends: 34213f5717

Change-Id: I14610bd7e7c7d52b1e1582fb38cc8de59334fa5b
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
Alessandro Portale
2024-09-27 16:02:31 +02:00
parent 887d2607eb
commit 49c53ffb4b
2 changed files with 0 additions and 7 deletions

View File

@@ -33,11 +33,6 @@ Theme *creatorTheme()
return m_creatorTheme; return m_creatorTheme;
} }
Theme *proxyTheme()
{
return new Theme(m_creatorTheme);
}
// Convenience // Convenience
QColor creatorColor(Theme::Color role) QColor creatorColor(Theme::Color role)
{ {

View File

@@ -576,13 +576,11 @@ protected:
private: private:
void readSettingsInternal(QSettings &settings); void readSettingsInternal(QSettings &settings);
friend QTCREATOR_UTILS_EXPORT Theme *creatorTheme(); friend QTCREATOR_UTILS_EXPORT Theme *creatorTheme();
friend QTCREATOR_UTILS_EXPORT Theme *proxyTheme();
QColor readNamedColorNoWarning(const QString &color) const; QColor readNamedColorNoWarning(const QString &color) const;
QPair<QColor, QString> readNamedColor(const QString &color) const; QPair<QColor, QString> readNamedColor(const QString &color) const;
}; };
QTCREATOR_UTILS_EXPORT Theme *creatorTheme(); QTCREATOR_UTILS_EXPORT Theme *creatorTheme();
QTCREATOR_UTILS_EXPORT Theme *proxyTheme();
QTCREATOR_UTILS_EXPORT QColor creatorColor(Theme::Color role); QTCREATOR_UTILS_EXPORT QColor creatorColor(Theme::Color role);
} // namespace Utils } // namespace Utils