Python: use the module run().__doc__ as a pretty description.
This commit is contained in:
parent
7ff814790d
commit
8bb6dc6d36
@ -248,8 +248,11 @@ PythonJob::prettyName() const
|
|||||||
QString
|
QString
|
||||||
PythonJob::prettyStatusMessage() const
|
PythonJob::prettyStatusMessage() const
|
||||||
{
|
{
|
||||||
|
if ( m_description.isEmpty() )
|
||||||
return tr( "Running %1 operation." )
|
return tr( "Running %1 operation." )
|
||||||
.arg( QDir( m_workingPath ).dirName() );
|
.arg( QDir( m_workingPath ).dirName() );
|
||||||
|
else
|
||||||
|
return m_description;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user