第一阶段完成,等测试
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user