Add proxy icon to title bar in OSX

This commit is contained in:
Weslly 2017-03-21 23:01:44 -03:00
parent 93dcf8231f
commit 5776f43b98
3 changed files with 17 additions and 0 deletions

View file

@ -552,6 +552,16 @@ bool DatabaseTabWidget::isModified(int index)
return indexDatabaseManagerStruct(index).modified;
}
QString DatabaseTabWidget::databasePath(int index)
{
if (index == -1) {
index = currentIndex();
}
return indexDatabaseManagerStruct(index).filePath;
}
void DatabaseTabWidget::updateTabName(Database* db)
{
int index = databaseIndex(db);