forked from qt-creator/qt-creator
Squish: Give code model more time to list refactorings
Change-Id: I944dfa306954cd16fdb24334db6e869702da282f Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -100,7 +100,7 @@ def main():
|
|||||||
editor = getEditorForFileSuffix("%s.h" % className.lower())
|
editor = getEditorForFileSuffix("%s.h" % className.lower())
|
||||||
oldContent = str(editor.plainText)
|
oldContent = str(editor.plainText)
|
||||||
placeCursorToLine(editor, "class %s.*" % className, True)
|
placeCursorToLine(editor, "class %s.*" % className, True)
|
||||||
snooze(1) # avoid timing issue with the parser
|
snooze(4) # avoid timing issue with the parser
|
||||||
invokeContextMenuItem(editor, "Refactor", "Insert Virtual Functions of Base Classes")
|
invokeContextMenuItem(editor, "Refactor", "Insert Virtual Functions of Base Classes")
|
||||||
handleInsertVirtualFunctions(["keys() const = 0 : QStringList",
|
handleInsertVirtualFunctions(["keys() const = 0 : QStringList",
|
||||||
"create(const QString &, const QString &) = 0 : QObject *"])
|
"create(const QString &, const QString &) = 0 : QObject *"])
|
||||||
|
Reference in New Issue
Block a user