diff options
author | Pierre Rossi <pierre.rossi@digia.com> | 2013-12-02 18:04:25 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-12-03 11:56:56 +0100 |
commit | 164f3839cc24d14590e11f898a39d4b05b90ce51 (patch) | |
tree | 1e3a72c9d7cff5629f533f2b408f488118709cef /src/core/process_main.cpp | |
parent | 32fffe6b2f8a5e44b6f8d3056104c2010726037c (diff) |
Use ContentMainDelegateQt also for child processes
This will be necessary in order for the render process to load
localized strings among other things.
Change-Id: Ibb75e49f0bc583c158af61817e5b350f3534ec16
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Diffstat (limited to 'src/core/process_main.cpp')
-rw-r--r-- | src/core/process_main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/process_main.cpp b/src/core/process_main.cpp index af44ba600..a8c1b3ad5 100644 --- a/src/core/process_main.cpp +++ b/src/core/process_main.cpp @@ -40,13 +40,15 @@ ****************************************************************************/ #include "process_main.h" + +#include "content_main_delegate_qt.h" #include "content/public/app/content_main.h" namespace QtWebEngine { int processMain(int argc, const char **argv) { - return content::ContentMain(argc, argv, 0); + return content::ContentMain(argc, argv, new ContentMainDelegateQt); } } |