Changeset View
Changeset View
Standalone View
Standalone View
kdevplatform/outputview/outputexecutejob.cpp
Show First 20 Lines • Show All 530 Lines • ▼ Show 20 Line(s) | 523 | { | |||
---|---|---|---|---|---|
531 | } | 531 | } | ||
532 | } | 532 | } | ||
533 | 533 | | |||
534 | QString OutputExecuteJobPrivate::getJobName() | 534 | QString OutputExecuteJobPrivate::getJobName() | ||
535 | { | 535 | { | ||
536 | const QString joinedCommandLine = joinCommandLine(); | 536 | const QString joinedCommandLine = joinCommandLine(); | ||
537 | if( m_properties.testFlag( OutputExecuteJob::AppendProcessString ) ) { | 537 | if( m_properties.testFlag( OutputExecuteJob::AppendProcessString ) ) { | ||
538 | if( !m_jobName.isEmpty() ) { | 538 | if( !m_jobName.isEmpty() ) { | ||
539 | return m_jobName + ": " + joinedCommandLine; | 539 | return m_jobName + QLatin1String(": ") + joinedCommandLine; | ||
540 | } else { | 540 | } else { | ||
541 | return joinedCommandLine; | 541 | return joinedCommandLine; | ||
542 | } | 542 | } | ||
543 | } else { | 543 | } else { | ||
544 | return m_jobName; | 544 | return m_jobName; | ||
545 | } | 545 | } | ||
546 | } | 546 | } | ||
547 | 547 | | |||
548 | } // namespace KDevelop | 548 | } // namespace KDevelop | ||
549 | 549 | | |||
550 | #include "moc_outputexecutejob.cpp" | 550 | #include "moc_outputexecutejob.cpp" |