diff options
Diffstat (limited to 'examples/widgets/tutorials/widgets/childwidget/main.cpp')
-rw-r--r-- | examples/widgets/tutorials/widgets/childwidget/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/widgets/tutorials/widgets/childwidget/main.cpp b/examples/widgets/tutorials/widgets/childwidget/main.cpp index b89e6f1c4a..84fcf1ea80 100644 --- a/examples/widgets/tutorials/widgets/childwidget/main.cpp +++ b/examples/widgets/tutorials/widgets/childwidget/main.cpp @@ -46,7 +46,8 @@ int main(int argc, char *argv[]) QApplication app(argc, argv); QWidget window; window.resize(320, 240); - window.setWindowTitle(QApplication::translate("childwidget", "Child widget")); + window.setWindowTitle + (QApplication::translate("childwidget", "Child widget")); window.show(); //! [create, position and show] |