digikam/hide-functions-that-are-no-longer-available.patch

31 lines
1.0 KiB
Diff

From f1f3c15931dbc6b8e05451ba23508debac202d96 Mon Sep 17 00:00:00 2001
From: Maik Qualmann <metzpinguin@gmail.com>
Date: Sun, 26 Feb 2017 11:24:25 +0100
Subject: hide functions that are no longer available in the current Google
Data API V3 CCBUGS: 376913
Git-commit: f1f3c15931dbc6b8e05451ba23508debac202d96
References: kde#376913
---
googleservices/gswidget.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/googleservices/gswidget.cpp b/googleservices/gswidget.cpp
index 149a6a5..fc89c9a 100644
--- a/googleservices/gswidget.cpp
+++ b/googleservices/gswidget.cpp
@@ -93,8 +93,10 @@ GoogleServicesWidget::GoogleServicesWidget(QWidget* const parent, KIPI::Interfac
m_LeafBox->hide();
break;
default:
+ getNewAlbmBtn()->hide(); // Google has removed this function in the current API V3.
getUploadBox()->hide();
getSizeBox()->hide();
+ m_LeafBox->hide(); // Google has removed this function in the current API V3.
break;
}
}
--
cgit v0.11.2