Fix show filename in tab after opening file and make F5 execute shortcut
work.
This commit is contained in:
parent
e53b85bd86
commit
47b3ea83e9
3 changed files with 11 additions and 2 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue