mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
QML-UI: allow toggling verbose mode from the UI
Hidden in the Developer menu. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
41c59c1c8d
commit
c3ebeadb34
3 changed files with 28 additions and 0 deletions
|
@ -387,6 +387,19 @@ void QMLManager::setLocationServiceEnabled(bool locationServiceEnabled)
|
|||
locationProvider->serviceEnable(m_locationServiceEnabled);
|
||||
}
|
||||
|
||||
bool QMLManager::verboseEnabled() const
|
||||
{
|
||||
return m_verboseEnabled;
|
||||
}
|
||||
|
||||
void QMLManager::setVerboseEnabled(bool verboseMode)
|
||||
{
|
||||
m_verboseEnabled = verboseMode;
|
||||
verbose = verboseMode;
|
||||
qDebug() << "verbose is" << verbose;
|
||||
emit verboseEnabledChanged();
|
||||
}
|
||||
|
||||
QString QMLManager::cloudPassword() const
|
||||
{
|
||||
return m_cloudPassword;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue