Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCamila <hello@camila.codes>2021-03-30 13:53:47 +0300
committerallexzander (Rebase PR Action) <allexzander@users.noreply.github.com>2021-04-08 10:10:58 +0300
commit98cfc362f72584774f575eace58dc70e65695e32 (patch)
tree546eb4ccce092834d8d442a63f0be0df501a5951 /src/gui/accountstate.cpp
parent835a61c5ee704729e305f6c79b914e5bd8a5164d (diff)
Remove const and reference of base types.
Signed-off-by: Camila <hello@camila.codes>
Diffstat (limited to 'src/gui/accountstate.cpp')
-rw-r--r--src/gui/accountstate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/accountstate.cpp b/src/gui/accountstate.cpp
index ac5a21c98..e7689f2e8 100644
--- a/src/gui/accountstate.cpp
+++ b/src/gui/accountstate.cpp
@@ -227,7 +227,7 @@ bool AccountState::isDesktopNotificationsAllowed() const
return _isDesktopNotificationsAllowed;
}
-void AccountState::setDesktopNotificationsAllowed(const bool isAllowed)
+void AccountState::setDesktopNotificationsAllowed(bool isAllowed)
{
_isDesktopNotificationsAllowed = isAllowed;
}