Really use qstr to convert a string in a QString

This commit is contained in:
Benjamin Piwowarski 2014-03-21 14:15:07 +01:00 committed by Richard Heck
parent 91980ebfc5
commit 54a534c81f

View File

@ -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
}