mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
QML UI: add progress message variable
To be shared between C/C++ and QML code in order to show the updates and potential error messages from libdivecomputer. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
8e5c211e21
commit
fd96daca6a
2 changed files with 17 additions and 0 deletions
|
@ -1508,6 +1508,17 @@ void QMLManager::setShowPin(bool enable)
|
|||
emit showPinChanged();
|
||||
}
|
||||
|
||||
QString QMLManager::progressMessage() const
|
||||
{
|
||||
return m_progressMessage;
|
||||
}
|
||||
|
||||
void QMLManager::setProgressMessage(QString text)
|
||||
{
|
||||
m_progressMessage = text;
|
||||
emit progressMessageChanged();
|
||||
}
|
||||
|
||||
#if defined (Q_OS_ANDROID)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue