summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-10-25 22:29:11 +0300
committerTor Lillqvist <tml@collabora.com>2018-10-25 22:30:11 +0300
commit9360beb97f7abf45df42dfc2dc5a27cef74fc9c0 (patch)
treefb073f6524f13e9ec005ce4bd3859401d1973fe3 /gtk
parenta4b4f6bf36ad97672f89d9d841051d30746c8a98 (diff)
hello-world.odt does not exist out of the box
Need to copy from hello.odt, like the Makefile.am does when you 'make run'.
Diffstat (limited to 'gtk')
-rw-r--r--gtk/mobile.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/mobile.cpp b/gtk/mobile.cpp
index a45ebf990..577897114 100644
--- a/gtk/mobile.cpp
+++ b/gtk/mobile.cpp
@@ -316,6 +316,8 @@ int main(int argc, char* argv[])
g_signal_connect(main_window, "destroy", G_CALLBACK(destroyWindowCb), NULL);
g_signal_connect(webView, "close", G_CALLBACK(closeWebViewCb), main_window);
+ system("cp " TOPSRCDIR "/test/data/hello.odt" " " TOPSRCDIR "/test/data/hello-world.odt");
+
fileURL = "file://" TOPSRCDIR "/test/data/hello-world.odt";
std::string urlAndQuery =