summaryrefslogtreecommitdiff
path: root/macosx
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-02-26 12:24:17 +0100
committerKonstantin Käfer <mail@kkaefer.com>2014-02-26 12:24:17 +0100
commit8d68bd73e74b70ec39f5192cfdfc7a3ac71ed97e (patch)
tree5049a96ddbca4f5a19223169ad12fbb4f0a64ea3 /macosx
parent70ec13e302704cf3e061db420920735480903a64 (diff)
downloadqtlocation-mapboxgl-8d68bd73e74b70ec39f5192cfdfc7a3ac71ed97e.tar.gz
draw a checkerboard stencil clipping mask initially
Diffstat (limited to 'macosx')
-rw-r--r--macosx/main.mm5
1 files changed, 0 insertions, 5 deletions
diff --git a/macosx/main.mm b/macosx/main.mm
index 472799d996..3f35b875b6 100644
--- a/macosx/main.mm
+++ b/macosx/main.mm
@@ -227,7 +227,6 @@ public:
};
MapView *mapView;
-NSOperationQueue *queue;
namespace llmr {
namespace platform {
@@ -240,10 +239,6 @@ void restart() {
}
void request_http(std::string url, std::function<void(Response&)> background_function, std::function<void()> foreground_callback) {
- if (!queue) {
- queue = [NSOperationQueue new];
- }
-
NSMutableURLRequest *urlRequest = [NSMutableURLRequest
requestWithURL:[NSURL
URLWithString:@(url.c_str())]];