Skip to content

Commit

Permalink
Explain button, fix compile error on Qt 6.4
Browse files Browse the repository at this point in the history
  • Loading branch information
kovzol committed Jan 2, 2025
1 parent 582e3c8 commit 318c76b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qt/statementwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ void StatementWindow::parse()
}
if (diagram_defined) {
visualizeButton = msgBox.addButton(tr("&Visualize"), QMessageBox::ActionRole);
visualizeXButton = msgBox.addButton(tr("E&xport"), QMessageBox::ActionRole);
visualizeXButton = msgBox.addButton(tr("E&xport graph"), QMessageBox::ActionRole);
}
}

Expand All @@ -161,7 +161,7 @@ void StatementWindow::parse()
}
if (msgBox.clickedButton() == visualizeXButton) {
QString link = "https://dreampuf.github.io/GraphvizOnline/?engine=dot#";
link += graphviz_input;
link += QString::fromStdString(graphviz_input);
QDesktopServices::openUrl(QUrl(link));
}

Expand Down

0 comments on commit 318c76b

Please sign in to comment.