Skip to content

Commit

Permalink
mainwindow.cpp:224:59: error: no match for ‘operator+’ (operand types…
Browse files Browse the repository at this point in the history
… are ‘QStringRef’ and ‘const char [7]’)
  • Loading branch information
progval committed Sep 24, 2017
1 parent fec8a6a commit 2f8efc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ void MainWindow::open_file() {
tr("Open code"), _last_path, "");

int extension_pos = file_name.lastIndexOf('.');
QString debug_path = file_name.leftRef(extension_pos) + ".debug";
QString debug_path = file_name.left(extension_pos) + ".debug";
QFile debug_file(debug_path);
if (debug_file.exists()) {
auto reply = QMessageBox::question(this, "Fichier de débug", "Un fichier contenant des informations de débug à été détecté. Voulez vous l'utiliser?",
Expand Down

0 comments on commit 2f8efc0

Please sign in to comment.