- remove runner crash message dialog
This commit is contained in:
parent
44ed24f016
commit
ad2310d4b5
Binary file not shown.
|
@ -412,7 +412,7 @@
|
||||||
'%1'
|
'%1'
|
||||||
'%2'
|
'%2'
|
||||||
Are you really want to continue?</source>
|
Are you really want to continue?</source>
|
||||||
<translation>小熊猫C++ will将会清除现有的编译器配置列表,然后在下列文件夹中搜索编译器:
|
<translation>小熊猫C++ 将会清除现有的编译器配置列表,然后在下列文件夹中搜索编译器:
|
||||||
'%1'
|
'%1'
|
||||||
'%2'
|
'%2'
|
||||||
你确定要继续吗?</translation>
|
你确定要继续吗?</translation>
|
||||||
|
@ -1273,13 +1273,13 @@ Are you really want to continue?</source>
|
||||||
<name>ExecutableRunner</name>
|
<name>ExecutableRunner</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="compiler/executablerunner.cpp" line="65"/>
|
<location filename="compiler/executablerunner.cpp" line="65"/>
|
||||||
<source>The runner process failed to start.</source>
|
<source>The runner process '%1' failed to start.</source>
|
||||||
<translation>无法启动程序运行进程。</translation>
|
<oldsource>The runner process failed to start.</oldsource>
|
||||||
|
<translation type="unfinished">无法启动程序运行进程'%1'。</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="compiler/executablerunner.cpp" line="69"/>
|
|
||||||
<source>The runner process crashed after starting successfully.</source>
|
<source>The runner process crashed after starting successfully.</source>
|
||||||
<translation>程序运行进程启动后崩溃。</translation>
|
<translation type="vanished">程序运行进程启动后崩溃。</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="compiler/executablerunner.cpp" line="72"/>
|
<location filename="compiler/executablerunner.cpp" line="72"/>
|
||||||
|
|
|
@ -62,12 +62,12 @@ void ExecutableRunner::run()
|
||||||
if (errorOccurred) {
|
if (errorOccurred) {
|
||||||
switch (process.error()) {
|
switch (process.error()) {
|
||||||
case QProcess::FailedToStart:
|
case QProcess::FailedToStart:
|
||||||
emit runErrorOccurred(tr("The runner process failed to start."));
|
emit runErrorOccurred(tr("The runner process '%1' failed to start.").arg(mFilename));
|
||||||
break;
|
|
||||||
case QProcess::Crashed:
|
|
||||||
if (!mStop)
|
|
||||||
emit runErrorOccurred(tr("The runner process crashed after starting successfully."));
|
|
||||||
break;
|
break;
|
||||||
|
// case QProcess::Crashed:
|
||||||
|
// if (!mStop)
|
||||||
|
// emit runErrorOccurred(tr("The runner process crashed after starting successfully."));
|
||||||
|
// break;
|
||||||
case QProcess::Timedout:
|
case QProcess::Timedout:
|
||||||
emit runErrorOccurred(tr("The last waitFor...() function timed out."));
|
emit runErrorOccurred(tr("The last waitFor...() function timed out."));
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue