diff --git a/qucs-activefilter/main.cpp b/qucs-activefilter/main.cpp index 6e6077a1..9dc14a32 100644 --- a/qucs-activefilter/main.cpp +++ b/qucs-activefilter/main.cpp @@ -89,7 +89,7 @@ int main(int argc, char *argv[]) QString Lang = QucsSettings.Language; if(Lang.isEmpty()) Lang = QString(QLocale::system().name()); - tor.load( QStringLiteral("qucs_") + Lang, LangDir); + static_cast(tor.load( QStringLiteral("qucs_") + Lang, LangDir)); a.installTranslator( &tor ); QucsActiveFilter *w = new QucsActiveFilter(); diff --git a/qucs-attenuator/main.cpp b/qucs-attenuator/main.cpp index 4fb3b4f7..1f6b18b1 100644 --- a/qucs-attenuator/main.cpp +++ b/qucs-attenuator/main.cpp @@ -94,7 +94,7 @@ int main( int argc, char ** argv ) QString lang = QucsSettings.Language; if(lang.isEmpty()) lang = QString(QLocale::system().name()); - tor.load( QStringLiteral("qucs_") + lang, QucsSettings.LangDir); + static_cast(tor.load( QStringLiteral("qucs_") + lang, QucsSettings.LangDir)); a.installTranslator( &tor ); QucsAttenuator *qucs = new QucsAttenuator(); diff --git a/qucs-filter/main.cpp b/qucs-filter/main.cpp index 2373baca..8cde4f94 100644 --- a/qucs-filter/main.cpp +++ b/qucs-filter/main.cpp @@ -102,7 +102,7 @@ int main(int argc, char *argv[]) QString lang = QucsSettings.Language; if(lang.isEmpty()) lang = QString(QLocale::system().name()); - tor.load( QStringLiteral("qucs_") + lang, QucsSettings.LangDir); + static_cast(tor.load( QStringLiteral("qucs_") + lang, QucsSettings.LangDir)); a.installTranslator( &tor ); QucsFilter *qucs = new QucsFilter(); diff --git a/qucs-powercombining/main.cpp b/qucs-powercombining/main.cpp index f58a8550..758b90e4 100644 --- a/qucs-powercombining/main.cpp +++ b/qucs-powercombining/main.cpp @@ -74,7 +74,7 @@ int main(int argc, char *argv[]) QString lang = QucsSettings.Language; if(lang.isEmpty()) lang = QString(QLocale::system().name()); - tor.load( QStringLiteral("qucs_") + lang, QucsSettings.LangDir); + static_cast(tor.load( QStringLiteral("qucs_") + lang, QucsSettings.LangDir)); app.installTranslator( &tor ); QucsPowerCombiningTool *PowerCombiningTool = new QucsPowerCombiningTool(); diff --git a/qucs-s-spar-viewer/main.cpp b/qucs-s-spar-viewer/main.cpp index 161cc962..a2713145 100644 --- a/qucs-s-spar-viewer/main.cpp +++ b/qucs-s-spar-viewer/main.cpp @@ -99,7 +99,7 @@ int main( int argc, char ** argv ) QString lang = QucsSettings.Language; if(lang.isEmpty()) lang = QString(QLocale::system().name()); - tor.load( QStringLiteral("qucs_") + lang, QucsSettings.LangDir); + static_cast(tor.load( QStringLiteral("qucs_") + lang, QucsSettings.LangDir)); a.installTranslator( &tor ); Qucs_S_SPAR_Viewer *qucs = new Qucs_S_SPAR_Viewer(); diff --git a/qucs-transcalc/main.cpp b/qucs-transcalc/main.cpp index 0f161dee..7137edda 100644 --- a/qucs-transcalc/main.cpp +++ b/qucs-transcalc/main.cpp @@ -136,7 +136,7 @@ int main(int argc, char *argv[]) QString lang = QucsSettings.Language; if(lang.isEmpty()) lang = QString(QLocale::system().name()); - tor.load( QStringLiteral("qucs_") + lang, QucsSettings.LangDir); + static_cast(tor.load( QStringLiteral("qucs_") + lang, QucsSettings.LangDir)); a.installTranslator( &tor ); QucsTranscalc *qucs = new QucsTranscalc(); diff --git a/qucs/main.cpp b/qucs/main.cpp index 867d438d..2b83043e 100644 --- a/qucs/main.cpp +++ b/qucs/main.cpp @@ -900,7 +900,7 @@ int main(int argc, char *argv[]) lang = loc.name(); // lang = QTextCodec::locale(); } - tor.load( QStringLiteral("qucs_") + lang, QucsSettings.LangDir); + static_cast(tor.load( QStringLiteral("qucs_") + lang, QucsSettings.LangDir)); QApplication::installTranslator( &tor ); // This seems to be necessary on a few system to make strtod()