mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 02:50:46 -06:00
Use platform specific path separators in window caption
For displaying the path to the currently opened database file use platform specific path separators. See issue #735.
This commit is contained in:
@@ -1357,7 +1357,7 @@ void MainWindow::updateRecentFileActions()
|
||||
void MainWindow::setCurrentFile(const QString &fileName)
|
||||
{
|
||||
setWindowFilePath(fileName);
|
||||
setWindowTitle( QApplication::applicationName() +" - "+fileName);
|
||||
setWindowTitle(QApplication::applicationName() + " - " + QDir::toNativeSeparators(fileName));
|
||||
activateFields(true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user