forked from qt-creator/qt-creator
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:
@@ -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)
|
||||||
{
|
{
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user