Skip to content

Commit

Permalink
Fixing cleaning problems
Browse files Browse the repository at this point in the history
  • Loading branch information
francescmm committed Mar 2, 2020
1 parent 95bcf00 commit 8a8e5b8
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions GitQlientPlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,21 +32,17 @@ GitQlientMode::GitQlientMode()
mGitImpl->setObjectName("mainWindow");
}

GitQlientPlugin::GitQlientPlugin()
{
mGitQlientMode = new GitQlientMode();
}
GitQlientPlugin::GitQlientPlugin() {}

GitQlientPlugin::~GitQlientPlugin()
{
delete mGitQlientMode;
}
GitQlientPlugin::~GitQlientPlugin() {}

bool GitQlientPlugin::initialize(const QStringList &arguments, QString *errorString)
{
Q_UNUSED(arguments)
Q_UNUSED(errorString)

mGitQlientMode = new GitQlientMode();

connect(Core::ModeManager::instance(), &Core::ModeManager::currentModeAboutToChange, this,
&GitQlientPlugin::aboutToChange);

Expand Down

0 comments on commit 8a8e5b8

Please sign in to comment.