Fix crash in Google Drive.

This commit is contained in:
John Maguire 2012-11-30 13:50:33 +01:00
parent d4a82a2d50
commit 24b4319504
1 changed files with 2 additions and 1 deletions

View File

@ -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));
}