From 24b43195048873275485be584b36e77881eb9f71 Mon Sep 17 00:00:00 2001 From: John Maguire Date: Fri, 30 Nov 2012 13:50:33 +0100 Subject: [PATCH] Fix crash in Google Drive. --- src/internet/googledriveservice.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/internet/googledriveservice.cpp b/src/internet/googledriveservice.cpp index aa082b291..3443486a0 100644 --- a/src/internet/googledriveservice.cpp +++ b/src/internet/googledriveservice.cpp @@ -41,7 +41,8 @@ GoogleDriveService::GoogleDriveService(Application* app, InternetModel* parent) kServiceName, kServiceId, QIcon(":/providers/googledrive.png"), SettingsDialog::Page_GoogleDrive), - client_(new google_drive::Client(this)) { + client_(new google_drive::Client(this)), + task_manager_(app->task_manager()) { app->player()->RegisterUrlHandler(new GoogleDriveUrlHandler(this, this)); }