mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Indicate that there are unsaved changes with a '*' in the window title
This seems to be a fairly common way to indicate this property. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
57f2c81125
commit
ef95bd9a27
5 changed files with 12 additions and 2 deletions
|
@ -34,6 +34,7 @@
|
|||
#include <QtConcurrent>
|
||||
#include "divepicturewidget.h"
|
||||
#include "subsurfacewebservices.h"
|
||||
#include "mainwindow.h"
|
||||
|
||||
#include <libxslt/documents.h>
|
||||
|
||||
|
@ -1057,3 +1058,8 @@ extern "C" bool canReachCloudServer()
|
|||
{
|
||||
return CheckCloudConnection::checkServer();
|
||||
}
|
||||
|
||||
extern "C" void updateWindowTitle()
|
||||
{
|
||||
MainWindow::instance()->setTitle();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue