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:
Dirk Hohndel 2015-06-12 06:48:51 -07:00
parent 57f2c81125
commit ef95bd9a27
5 changed files with 12 additions and 2 deletions

View file

@ -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();
}