diff options
author | Christian Tismer <tismer@stackless.com> | 2022-01-19 14:56:02 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-01-19 23:19:20 +0000 |
commit | fa7760f963bc638cb6d8b032e05d6db0747b6c07 (patch) | |
tree | 941ae8c7b3235a4607d92b389569f68125d4a650 | |
parent | 933be2d7b92c6534d29d828ca05b0a7b037ac81e (diff) |
examples: Fix f-string in corelib/mimetypesbrowser.py
This was found while testing the examples with PyPy.
Task-number: PYSIDE-535
Change-Id: I75296f314c4411427cfd8bc509f242cd754dde91
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
(cherry picked from commit e536b0469ffc9e834dbb6bc116feb570f930367b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | examples/corelib/mimetypesbrowser/mainwindow.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/corelib/mimetypesbrowser/mainwindow.py b/examples/corelib/mimetypesbrowser/mainwindow.py index 6f0f6d90f..485f156ce 100644 --- a/examples/corelib/mimetypesbrowser/mainwindow.py +++ b/examples/corelib/mimetypesbrowser/mainwindow.py @@ -129,7 +129,7 @@ class MainWindow(QMainWindow): ) if index.isValid(): - self.statusBar().showMessage(f'\{fi.fileName()}" is of type "{mime_type.name()}"') + self.statusBar().showMessage(f'{fi.fileName()}" is of type "{mime_type.name()}"') self._select_and_goto(index) else: QMessageBox.information( |