Commit bd87b090 authored by Tobias Hunger's avatar Tobias Hunger

VcsBaseClient: Remove unneeded member

and small cleanups.

Change-Id: I9db6d7d5de32acd2ec1d757f27e4e3095dd5b1eb
Reviewed-by: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
parent 9b13e407
...@@ -91,17 +91,12 @@ public: ...@@ -91,17 +91,12 @@ public:
VcsBaseClient::ParameterWidgetCreator m_diffParamWidgetCreator; VcsBaseClient::ParameterWidgetCreator m_diffParamWidgetCreator;
VcsBaseClient::ParameterWidgetCreator m_logParamWidgetCreator; VcsBaseClient::ParameterWidgetCreator m_logParamWidgetCreator;
private:
VcsBaseClient *m_client;
}; };
VcsBaseClientPrivate::VcsBaseClientPrivate(VcsBaseClient *client, VcsBaseClientSettings *settings) : VcsBaseClientPrivate::VcsBaseClientPrivate(VcsBaseClient *client, VcsBaseClientSettings *settings) :
m_clientSettings(settings), m_clientSettings(settings),
m_cmdFinishedMapper(new QSignalMapper(client)), m_cmdFinishedMapper(new QSignalMapper(client))
m_client(client) { }
{
}
void VcsBaseClientPrivate::bindCommandToEditor(VcsCommand *cmd, VcsBaseEditorWidget *editor) void VcsBaseClientPrivate::bindCommandToEditor(VcsCommand *cmd, VcsBaseEditorWidget *editor)
{ {
...@@ -123,8 +118,7 @@ VcsBaseEditorParameterWidget *VcsBaseClientPrivate::createLogEditor() ...@@ -123,8 +118,7 @@ VcsBaseEditorParameterWidget *VcsBaseClientPrivate::createLogEditor()
VcsBaseClient::StatusItem::StatusItem(const QString &s, const QString &f) : VcsBaseClient::StatusItem::StatusItem(const QString &s, const QString &f) :
flags(s), file(f) flags(s), file(f)
{ { }
}
VcsBaseClient::VcsBaseClient(VcsBaseClientSettings *settings) : VcsBaseClient::VcsBaseClient(VcsBaseClientSettings *settings) :
d(new VcsBaseClientPrivate(this, settings)) d(new VcsBaseClientPrivate(this, settings))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment