summaryrefslogtreecommitdiff
path: root/src/plugins/git/commitdata.cpp
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@theqtcompany.com>2016-02-10 11:19:27 +0100
committerTobias Hunger <tobias.hunger@theqtcompany.com>2016-02-10 15:01:57 +0000
commitb4195d51746d86f4aa459d07d14a328c7945981a (patch)
treeca13ba842a38e2514a923eb6a9ecadd439159110 /src/plugins/git/commitdata.cpp
parent7db0023e8c97336e0e449552410de674bbe2ffd0 (diff)
downloadqt-creator-b4195d51746d86f4aa459d07d14a328c7945981a.tar.gz
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 <orgads@gmail.com>
Diffstat (limited to 'src/plugins/git/commitdata.cpp')
-rw-r--r--src/plugins/git/commitdata.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/plugins/git/commitdata.cpp b/src/plugins/git/commitdata.cpp
index 463b98bdd1..8cb0cbee68 100644
--- a/src/plugins/git/commitdata.cpp
+++ b/src/plugins/git/commitdata.cpp
@@ -28,7 +28,6 @@
#include <utils/qtcassert.h>
#include <QCoreApplication>
-#include <QDebug>
namespace Git {
namespace Internal {
@@ -39,12 +38,6 @@ void GitSubmitEditorPanelInfo::clear()
branch.clear();
}
-QDebug operator<<(QDebug d, const GitSubmitEditorPanelInfo &data)
-{
- d.nospace() << "Rep: " << data.repository << " branch: " << data.branch;
- return d;
-}
-
void GitSubmitEditorPanelData::clear()
{
author.clear();
@@ -67,14 +60,6 @@ QString GitSubmitEditorPanelData::authorString() const
return rc;
}
-QDebug operator<<(QDebug d, const GitSubmitEditorPanelData &data)
-{
- d.nospace() << " author:" << data.author << " email: " << data.email
- << " bypass hooks: " << data.bypassHooks
- << " action after commit " << data.pushAction;
- return d;
-}
-
CommitData::CommitData(CommitType type)
: commitType(type)
, commitEncoding(0)