第一阶段完成,等测试

This commit is contained in:
Mike Solar
2023-08-02 07:18:10 +08:00
parent 6a695e8a03
commit 6fa68053bb
4 changed files with 5 additions and 2 deletions

View File

@ -54,6 +54,7 @@ void MainWindowLayout::resizeEvent(QResizeEvent *event) {
void MainWindowLayout::clickButton(QString text, QString url) {
QString path = QApplication::applicationDirPath();
path += "/app/startcalc.exe";
path.replace("/", "\\");
if (text== QString::fromLocal8Bit("<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")) {
WinExec(path.toStdString().c_str(), SW_SHOW);
}