mirror of
https://github.com/Murmele/Gittyup.git
synced 2024-09-17 13:37:18 +03:00
Description: Rename function
Reason: Sounds better Files: CommitList.cpp and CommitList.h
This commit is contained in:
parent
ab94aed8c5
commit
a5ab7c3e11
@ -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() {
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user