Description: Rename function

Reason: Sounds better
Files: CommitList.cpp and CommitList.h
This commit is contained in:
Martin Marmsoler 2023-02-15 19:21:27 +01:00
parent ab94aed8c5
commit a5ab7c3e11
2 changed files with 5 additions and 5 deletions

View File

@ -151,7 +151,7 @@ public:
void suppressResetWalker(bool suppress) { mSuppressResetWalker = suppress; }
bool isSuppressResetWalker() { return mSuppressResetWalker; }
bool isResetWalkerSuppressed() { return mSuppressResetWalker; }
void setReference(const git::Reference &ref) {
mRef = ref;
@ -1209,7 +1209,7 @@ void CommitList::cancelStatus() {
void CommitList::setReference(const git::Reference &ref) {
static_cast<CommitModel *>(mModel)->setReference(ref);
if (!isSuppressResetWalker())
if (!isResetWalkerSuppressed())
updateModel();
setFocus();
}
@ -1320,8 +1320,8 @@ void CommitList::resetReference(const git::Reference &ref) {
static_cast<CommitModel *>(mModel)->resetReference(ref);
}
bool CommitList::isSuppressResetWalker() {
return static_cast<CommitModel *>(mModel)->isSuppressResetWalker();
bool CommitList::isResetWalkerSuppressed() {
return static_cast<CommitModel *>(mModel)->isResetWalkerSuppressed();
}
void CommitList::resetSettings() {

View File

@ -50,7 +50,7 @@ public:
bool selectRange(const QString &range, const QString &file = QString(),
bool spontaneous = false);
void suppressResetWalker(bool suppress);
bool isSuppressResetWalker();
bool isResetWalkerSuppressed();
void resetSettings();
void resetReference(const git::Reference &ref);