Fix show filename in tab after opening file and make F5 execute shortcut

work.
This commit is contained in:
eelke 2019-12-03 19:08:13 +01:00
parent e53b85bd86
commit 47b3ea83e9
3 changed files with 11 additions and 2 deletions

View file

@ -234,6 +234,12 @@ void QueryTool::cancel()
m_dbConnection.cancel();
}
QString QueryTool::title() const
{
QFileInfo fileInfo(m_fileName);
QString fn(fileInfo.fileName());
return fn;
}
void QueryTool::setFileName(const QString &filename)
{