mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 14:29:21 +00:00
Really use qstr to convert a string in a QString
This commit is contained in:
parent
91980ebfc5
commit
54a534c81f
@ -1006,7 +1006,7 @@ void GuiView::updateWindowTitle(GuiWorkArea * wa)
|
||||
// Sets the path for the window: this is used by OSX to
|
||||
// allow a context click on the title bar showing a menu
|
||||
// with the path up to the file
|
||||
setWindowFilePath(toqstr(wa->bufferView().buffer().absFileName().c_str()));
|
||||
setWindowFilePath(toqstr(wa->bufferView().buffer().absFileName()));
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user