forked from qt-creator/qt-creator
Clang: Remove unused function
Amends 9ded17fce086339aabe942585187c4157532fa89. Change-Id: I96bc82c08d1e608cc743ee581111a4b3b71395a2 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -84,15 +84,6 @@ bool writeFile(const QString &filePath, const QByteArray &contents)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void insertTextAtTopOfEditor(TextEditor::BaseTextEditor *editor, const QByteArray &text)
|
|
||||||
{
|
|
||||||
QTC_ASSERT(editor, return);
|
|
||||||
::Utils::ChangeSet cs;
|
|
||||||
cs.insert(0, QString::fromUtf8(text));
|
|
||||||
QTextCursor textCursor = editor->textCursor();
|
|
||||||
cs.apply(&textCursor);
|
|
||||||
}
|
|
||||||
|
|
||||||
class ChangeDocumentReloadSetting
|
class ChangeDocumentReloadSetting
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
Reference in New Issue
Block a user