修复打不开自行添加的应用
This commit is contained in:
@ -76,7 +76,9 @@ void MainWindowLayout::clickButton(QString orig_name,QString op, QString func, Q
|
||||
}
|
||||
}
|
||||
else if(op=="soft"){
|
||||
ShellExecute(GetDesktopWindow(), L"open",path.toStdWString().c_str(),L"",initial_position.toStdWString().c_str(),SW_SHOW);
|
||||
path.replace("/", "\\");
|
||||
initial_position.replace("/", "\\");
|
||||
WinExec(path.toStdString().c_str(), SW_SHOW);
|
||||
emit clickButton1(op, url);
|
||||
}else
|
||||
{
|
||||
|
Reference in New Issue
Block a user