forked from qt-creator/qt-creator
SquishTests: Adapt to different texts on macOS
Change-Id: Ie97003fd7de907d1a0f3ac71d6244dd68e2bf833 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
@@ -26,7 +26,8 @@ def main():
|
||||
mBox = ("{text?='The file * has been changed on disk. Do you want to reload it?' "
|
||||
"type='QMessageBox' unnamed='1' visible='1'}")
|
||||
popupText = ("<p>The file <i>%s</i> has been changed on disk. Do you want to reload it?</p>"
|
||||
"<p>The default behavior can be set in Edit > Preferences > Environment > System.</p>")
|
||||
"<p>The default behavior can be set in X > Preferences > Environment > System.</p>")
|
||||
popupText = popupText.replace("X", "Qt Creator" if platform.system() == "Darwin" else "Edit")
|
||||
formerContent = None
|
||||
|
||||
for i, currentFile in enumerate(files):
|
||||
|
Reference in New Issue
Block a user