mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 18:09:59 +03:00
[Backport release-10.x] fix accounts crash (#4546)
This commit is contained in:
commit
f1e382b035
2 changed files with 1 additions and 2 deletions
|
|
@ -669,7 +669,7 @@ void AccountList::beginActivity()
|
|||
void AccountList::endActivity()
|
||||
{
|
||||
if (m_activityCount == 0) {
|
||||
qWarning() << m_name << " - Activity count would become below zero";
|
||||
qWarning() << "Activity count would become below zero";
|
||||
return;
|
||||
}
|
||||
bool deactivating = m_activityCount == 1;
|
||||
|
|
|
|||
|
|
@ -111,7 +111,6 @@ class AccountList : public QAbstractListModel {
|
|||
void endActivity();
|
||||
|
||||
private:
|
||||
const char* m_name;
|
||||
uint32_t m_activityCount = 0;
|
||||
signals:
|
||||
void listChanged();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue