From b4195d51746d86f4aa459d07d14a328c7945981a Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Wed, 10 Feb 2016 11:19:27 +0100 Subject: Git: Modernize * pragma once * member initialization * s/struct/class/ * Introduce a static GitPlugin::client() method and use it Change-Id: Ifdcac86dd16f3cdba11d564d03e9a15f00a6afdb Reviewed-by: Orgad Shaneh --- src/plugins/git/gitutils.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/plugins/git/gitutils.cpp') diff --git a/src/plugins/git/gitutils.cpp b/src/plugins/git/gitutils.cpp index f89536dcc7..8ddfc0072f 100644 --- a/src/plugins/git/gitutils.cpp +++ b/src/plugins/git/gitutils.cpp @@ -25,20 +25,12 @@ #include "gitutils.h" -#include #include #include namespace Git { namespace Internal { -QDebug operator<<(QDebug d, const Stash &s) -{ - QDebug nospace = d.nospace(); - nospace << "name=" << s.name << " branch=" << s.branch << " message=" << s.message; - return d; -} - void Stash::clear() { name.clear(); -- cgit v1.2.1