forked from qt-creator/qt-creator
ProjectExplorer: Drop unused Macro::toByteArray(const QVector<Macros> &)
Change-Id: Ic3f0b8bda4fac1d31e2b3239e4a3ee261547b30a Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -63,16 +63,6 @@ QByteArray Macro::toByteArray(const Macros ¯os)
|
||||
return text;
|
||||
}
|
||||
|
||||
QByteArray Macro::toByteArray(const QVector<Macros> ¯osVector)
|
||||
{
|
||||
QByteArray text;
|
||||
|
||||
for (const Macros ¯os : macrosVector)
|
||||
text += toByteArray(macros);
|
||||
|
||||
return text;
|
||||
}
|
||||
|
||||
Macros Macro::toMacros(const QByteArray &text)
|
||||
{
|
||||
return tokensLinesToMacros(tokenizeLines(splitLines(text)));
|
||||
|
@@ -61,7 +61,6 @@ public:
|
||||
|
||||
QByteArray toByteArray() const;
|
||||
static QByteArray toByteArray(const Macros ¯os);
|
||||
static QByteArray toByteArray(const QVector<Macros> ¯oss);
|
||||
|
||||
static Macros toMacros(const QByteArray &text);
|
||||
|
||||
|
Reference in New Issue
Block a user