summaryrefslogtreecommitdiff
path: root/examples/linguist/hellotr/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/linguist/hellotr/main.cpp')
-rw-r--r--examples/linguist/hellotr/main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/linguist/hellotr/main.cpp b/examples/linguist/hellotr/main.cpp
index c6db1f37a..e655029fb 100644
--- a/examples/linguist/hellotr/main.cpp
+++ b/examples/linguist/hellotr/main.cpp
@@ -17,8 +17,7 @@ int main(int argc, char *argv[])
//! [5]
QTranslator translator;
//! [5] //! [6]
- if (!translator.load("hellotr_la"))
- return 1;
+ Q_UNUSED(translator.load("hellotr_la"));
//! [6] //! [7]
app.installTranslator(&translator);
//! [4] //! [7]