We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82b2a0f commit f6b00d6Copy full SHA for f6b00d6
1 file changed
gui/librarydialog.cpp
@@ -167,7 +167,7 @@ void LibraryDialog::saveCfg()
167
void LibraryDialog::saveCfgAs()
168
{
169
const QString filter(tr("Library files (*.cfg)"));
170
- const QString path = Path::getPathFromFilename(mFileName.toStdString()).c_str();
+ const QString path = QString::fromStdString(Path::getPathFromFilename(mFileName.toStdString()));
171
QString selectedFile = QFileDialog::getSaveFileName(this,
172
tr("Save the library as"),
173
path,
0 commit comments