summaryrefslogtreecommitdiff
path: root/interchange.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'interchange.cxx')
-rw-r--r--interchange.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/interchange.cxx b/interchange.cxx
index c70fc98..4f8d9e0 100644
--- a/interchange.cxx
+++ b/interchange.cxx
@@ -29,10 +29,8 @@ namespace QInterchange {
interchange_page(path.toLatin1().constData(),
[](interchange_response* response) {
interchange->emitPage(QString{response->url}
-#ifndef __EMSCRIPTEN__
- .remove(0, sampleUrlLength + 1)
-#endif
- , QString{response->data});
+ .remove(0, sampleUrlLength + 1),
+ QString{response->data});
interchange_free_response(response);
});
}