forked from qt-creator/qt-creator
Vcs*: Rename several *Editors to *EditorWidgets
Follow suit. Change-Id: If22452a5e46d62d419ba273981b1f247f5095b53 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
@@ -177,7 +177,7 @@ bool BazaarPlugin::initialize(const QStringList &arguments, QString *errorMessag
|
||||
|
||||
static const char *describeSlot = SLOT(view(QString,QString));
|
||||
const int editorCount = sizeof(editorParameters) / sizeof(VcsBaseEditorParameters);
|
||||
const auto widgetCreator = []() { return new BazaarEditor; };
|
||||
const auto widgetCreator = []() { return new BazaarEditorWidget; };
|
||||
for (int i = 0; i < editorCount; i++)
|
||||
addAutoReleasedObject(new VcsEditorFactory(editorParameters + i, widgetCreator, m_client, describeSlot));
|
||||
|
||||
@@ -656,7 +656,7 @@ void BazaarPlugin::testDiffFileResolving_data()
|
||||
|
||||
void BazaarPlugin::testDiffFileResolving()
|
||||
{
|
||||
BazaarEditor editor;
|
||||
BazaarEditorWidget editor;
|
||||
editor.setParameters(editorParameters + 2);
|
||||
editor.testDiffFileResolving();
|
||||
}
|
||||
@@ -681,7 +681,7 @@ void BazaarPlugin::testLogResolving()
|
||||
" (gz) Set approved revision and vote \"Approve\" when using lp-propose\n"
|
||||
" --approve (Jonathan Lange)\n"
|
||||
);
|
||||
BazaarEditor editor;
|
||||
BazaarEditorWidget editor;
|
||||
editor.setParameters(editorParameters);
|
||||
editor.testLogResolving(data, "6572", "6571");
|
||||
}
|
||||
|
Reference in New Issue
Block a user