Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Commit

Permalink
Fix deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
scunz committed Apr 25, 2015
1 parent 809c9d8 commit 3797577
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Modules/Logging/LoggingMode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ LoggingMode::LoggingMode(QObject *parent)
setEnabled(false);
setDisplayOrder(100);

connect(&MacGitver::self().repoMan(),
connect(&RM::RepoMan::instance(),
&RM::RepoMan::hasActiveRepositoryChanged,
this, &LoggingMode::setEnabled);
}
Expand Down
2 changes: 1 addition & 1 deletion Modules/Repository/CreateRepositoryDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ void CreateRepositoryDlg::accept()

MacGitver::log(Log::Normal, trUtf8("Created a new repository at %1").arg(fn));

MacGitver::repoMan().open(fn);
RM::RepoMan::instance().open(fn);

QDialog::accept();
}
8 changes: 4 additions & 4 deletions Modules/Repository/RepoTreeView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ RepoTreeView::RepoTreeView()
connect( mRepos, SIGNAL(contextMenu(QModelIndex,QPoint)),
this, SLOT(contextMenu(QModelIndex,QPoint)) );

connect( &MacGitver::repoMan(), &RM::RepoMan::repositoryActivated,
this, &RepoTreeView::onRepoActivated);
connect(&RM::RepoMan::instance(), &RM::RepoMan::repositoryActivated,
this, &RepoTreeView::onRepoActivated);

connect( &MacGitver::repoMan(), &RM::RepoMan::repositoryDeactivated,
this, &RepoTreeView::onRepoDeactivated);
connect(&RM::RepoMan::instance(), &RM::RepoMan::repositoryDeactivated,
this, &RepoTreeView::onRepoDeactivated);
}

QModelIndex RepoTreeView::deeplyMapToSource( QModelIndex current ) const
Expand Down
2 changes: 1 addition & 1 deletion testMacGitverCore/Infra/TempRepo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ TempRepo::~TempRepo()
TempRepoOpener::TempRepoOpener(Fixture* fixture, const char* name)
: mTempRepo(fixture, name)
{
MacGitver::repoMan().open(mTempRepo);
RM::RepoMan::instance().open(mTempRepo);
}

TempRepoOpener::~TempRepoOpener()
Expand Down

0 comments on commit 3797577

Please sign in to comment.