From 2b84482787ccd59bb717918ee6ee45b325681b7c Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Mon, 21 May 2018 18:10:34 +0200 Subject: desktop-widgets/.../facebook: Change Q_UNUSED to no parameter name C++ permits use of parameters without name, which signals unused Signed-off-by: Jan Iversen --- desktop-widgets/plugins/facebook/facebook_integration.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'desktop-widgets/plugins/facebook/facebook_integration.cpp') diff --git a/desktop-widgets/plugins/facebook/facebook_integration.cpp b/desktop-widgets/plugins/facebook/facebook_integration.cpp index f1f7e3846..30fa83610 100644 --- a/desktop-widgets/plugins/facebook/facebook_integration.cpp +++ b/desktop-widgets/plugins/facebook/facebook_integration.cpp @@ -4,10 +4,9 @@ #include -FacebookPlugin::FacebookPlugin(QObject* parent) : +FacebookPlugin::FacebookPlugin(QObject*) : fbConnectWidget(new FacebookConnectWidget()) { - Q_UNUSED(parent) } bool FacebookPlugin::isConnected() -- cgit v1.2.3-70-g09d2