MCPcopy Create free account
hub / github.com/KDE/kdiff3 / setInformationImp

Method setInformationImp

src/progress.cpp:221–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

219}
220
221void ProgressDialog::setInformationImp(const QString& info)
222{
223 assert(!m_progressStack.empty());
224
225 size_t level = m_progressStack.size();
226 if(level == 1)
227 {
228 dialogUi.information->setText(info);
229 dialogUi.subInformation->setText("");
230 if(m_pStatusBar && m_bStayHidden)
231 m_pStatusBar->showMessage(info);
232 }
233 else if(level == 2)
234 {
235 dialogUi.subInformation->setText(info);
236 }
237}
238
239void ProgressDialog::addNofSteps(const quint64 nofSteps)
240{

Callers

nothing calls this directly

Calls 2

setTextMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected