1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-16 11:19:18 +01:00

Fix crash in Google Drive.

This commit is contained in:
John Maguire 2012-11-30 13:50:33 +01:00
parent d4a82a2d50
commit 24b4319504

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