From ad2310d4b56180fde974be8d6f55b622175ed946 Mon Sep 17 00:00:00 2001 From: royqh1979 Date: Sat, 4 Sep 2021 19:37:33 +0800 Subject: [PATCH] - remove runner crash message dialog --- RedPandaIDE/RedPandaIDE_zh_CN.qm | Bin 59164 -> 59156 bytes RedPandaIDE/RedPandaIDE_zh_CN.ts | 10 +++++----- RedPandaIDE/compiler/executablerunner.cpp | 10 +++++----- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/RedPandaIDE/RedPandaIDE_zh_CN.qm b/RedPandaIDE/RedPandaIDE_zh_CN.qm index e0ca4b858dc79764d31371113ff0ce4524575283..3c48ca6422b3ca1100be7469967b75ae2653fb8b 100644 GIT binary patch delta 5890 zcmXAtd0b3w8^^DiIm?_mXJ&+C-;!N~BD+GAy@Zgo*~%U&8p@I)v@c|9lL$##X_YNJ zc8@2#h)4GIwZFgK^YO>mbmrXWy07bZ{qF0`o*GqjjcQkC!x|zcnrPD=Fa|6IW5GHw zj%c$8#)Eyp1aKO7l4#6j@B@+E2qLyIxD*@=Cd({+4Nf9DvY*I8N2G2pQ#6y=VzoM;v9n_EtldjY$Smm$B9qHz5ZfQIDxVTNA_}pU z5jz%1G0Gx#{3oJtT=zyYdbg0dT}SNFeMHM!5gVROw9}E;_)1*AFLU=}nb`-4O~-oP zONgz&_YASGh#zQ7WUM6K8G+27M%ubtM0-1s*+35>7eDGb>KRJ&Or~O=Og|^;wSOVe z_B3X}DI&!WnZ|u->>6vLk_Z~R4V9bZN@K$vi4tRIoMjSG{}(haw1NzD zp+Aia7l;mhqj4!JqWn6t?|O*npe5N`#SpDIOZFb_MCVwt4?Cz0`^qOo zms-*I1YB?RSZ1%jGDBQsCUlpX#?u64InkDrG{JHcQJNb~@Cq;xHS5>#AELg_GKa3C z$u31meV)u_(d5YB#!jusk*!AI&X99hD$$O;U;)H^g`6`RWK>KpjlzhU+sN#{nq1~% z11E-%OK~L8;afDzyB|@k8_fwrqs7gpMH&MZ9(#^_2cQ}J8CtR35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JTdJ$Nu@RM}cD(w|QF#C4d3DP$c>h$D`e~InivMKw(+6-v-vIUV z?N~pqTK)1QHr{Th{N~0p6sIjREC7tQ;4=*V zfnuBIHAJR1qKVN{7-A-xTxbiAJQCXlqSU245Zf<0j?bB5r`$LqA5Zbef;Xt?kz)7L zsLk;@(cBsyh+i!B)J72rQ4%|}v=S%VRwMS=T7V5cOB_5vw5Z1SL*I*oH;#ioJBnk1 zu;8rSqCOW3$l6IfP$9a%g6kExMUPs9Y>KNG$o7G21H@%rjls9#az!)V$wrAm@%DJ$ zQCuGxfiZf6xG@TzEjueFjWXcI0hVHt{VGhKcf{5o7>M@~cMr|P`?I^4-U1hP<0S6r zEN0LRymv1WGye#~N$-jWE|{P+$i(8nUTE-IvE&76JNrQ_m8~E$9xj$@Xd<43}f6(2QvYa@hYmu6Bg7`Qf5 zGjlFBKAozW%gInvA|+NI)GYY_Z#lg*{@1Hv*awNl-kN}_pW&GZO+X#iv0g7R?Y$;s zUL}fRmL`tN;W@~G8JyEDhnus@x;8mKm2E@pvvnIVGYE8mt&C$o*Fx*9Is_Ta% zM9U9z>bBdvNVJZD{|)h)P(*X#&wyUl;0 zdiT+qM&KaRd2L74Vw57oV{PYs>2O`B)?q{ik$187*M|__paojbk?7BBOtjwR=P+l> zwE^d_P^yD=#f@xRGB zfJx<;ZhW>cif134^T!6HtA}oCUlcI?3*DUbM&y6sTAhD5EVR0)TlxTLF>!`2xKNL2 zw7)J!-iY69a&@skuY;N|ORRjWOL>Y7>WAreDOaK6k}e}I69dFG-Tp18e5>B+a?TXM zAUj=g_-!=4MqOz?Y#6gwVriJ})||x{L>hEYY&W9SH@4`W-bSI=&|mlNRThT3aNWn_ zouKMO-Di&un8iBizIowf!;T@zFJ3B`WP0!i(_jzXvd9&E$e#M(? - 小熊猫C++ will将会清除现有的编译器配置列表,然后在下列文件夹中搜索编译器: + 小熊猫C++ 将会清除现有的编译器配置列表,然后在下列文件夹中搜索编译器: '%1' '%2' 你确定要继续吗? @@ -1273,13 +1273,13 @@ Are you really want to continue? ExecutableRunner - The runner process failed to start. - 无法启动程序运行进程。 + The runner process '%1' failed to start. + The runner process failed to start. + 无法启动程序运行进程'%1'。 - The runner process crashed after starting successfully. - 程序运行进程启动后崩溃。 + 程序运行进程启动后崩溃。 diff --git a/RedPandaIDE/compiler/executablerunner.cpp b/RedPandaIDE/compiler/executablerunner.cpp index 8916e664..45f89fc6 100644 --- a/RedPandaIDE/compiler/executablerunner.cpp +++ b/RedPandaIDE/compiler/executablerunner.cpp @@ -62,12 +62,12 @@ void ExecutableRunner::run() if (errorOccurred) { switch (process.error()) { case QProcess::FailedToStart: - emit runErrorOccurred(tr("The runner process failed to start.")); - break; - case QProcess::Crashed: - if (!mStop) - emit runErrorOccurred(tr("The runner process crashed after starting successfully.")); + 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; case QProcess::Timedout: emit runErrorOccurred(tr("The last waitFor...() function timed out.")); break;