Changeset View
Changeset View
Standalone View
Standalone View
kdevplatform/outputview/outputexecutejob.cpp
Show First 20 Lines • Show All 338 Lines • ▼ Show 20 Line(s) | 326 | switch( processError ) { | |||
---|---|---|---|---|---|
339 | case QProcess::WriteError: | 339 | case QProcess::WriteError: | ||
340 | errorValue = i18n("Write error"); | 340 | errorValue = i18n("Write error"); | ||
341 | break; | 341 | break; | ||
342 | 342 | | |||
343 | case QProcess::Timedout: | 343 | case QProcess::Timedout: | ||
344 | errorValue = i18n("Waiting for the process has timed out"); | 344 | errorValue = i18n("Waiting for the process has timed out"); | ||
345 | break; | 345 | break; | ||
346 | 346 | | |||
347 | default: | | |||
348 | case QProcess::UnknownError: | 347 | case QProcess::UnknownError: | ||
349 | errorValue = i18n("Exit code %1", d->m_process->exitCode()); | 348 | errorValue = i18n("Exit code %1", d->m_process->exitCode()); | ||
350 | break; | 349 | break; | ||
351 | } | 350 | } | ||
352 | 351 | | |||
353 | // Show the tool view if it's hidden for the user to be able to diagnose errors. | 352 | // Show the tool view if it's hidden for the user to be able to diagnose errors. | ||
354 | if( !d->m_outputStarted ) { | 353 | if( !d->m_outputStarted ) { | ||
355 | d->m_outputStarted = true; | 354 | d->m_outputStarted = true; | ||
▲ Show 20 Lines • Show All 195 Lines • Show Last 20 Lines |