commit 54a534c81fe1ff344e4972303cc59aeaac9c6e1b Author: Benjamin Piwowarski <bpiwo...@lyx.org> Date: Fri Mar 21 14:15:07 2014 +0100
Really use qstr to convert a string in a QString diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index ce39a6e..4a4ab00 100644 --- a/src/frontends/qt4/GuiView.cpp +++ b/src/frontends/qt4/GuiView.cpp @@ -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 }