Commit 6b698dde authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[CHANGE] - empty progress names cause the module to show "busy" instead of an empty string

parent 61c28554
......@@ -175,6 +175,10 @@ void WQtNetworkItem::updater()
// update subtext
m_subtitleFull = p->getCombinedNames( true );
if( m_subtitleFull.empty() ) // if some lazy programmer did not provide names for the progress -> set one
m_subtitleFull = "Busy";
// we add the percent-counter to the front because the fitLook method shortens the subtext string if it is too long. This might clip out
// the percentage if the p->getCombinedNames string is quite long.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment