Changeset View
Changeset View
Standalone View
Standalone View
krusader/DiskUsage/filelightParts/fileTree.h
Context not available. | |||||
294 | if (m_percent < 0) | 294 | if (m_percent < 0) | ||
---|---|---|---|---|---|
295 | return "INV"; | 295 | return "INV"; | ||
296 | QString buf; | 296 | QString buf; | ||
297 | buf.sprintf("%d.%02d%%", m_percent / 100, m_percent % 100); | 297 | buf.asprintf("%d.%02d%%", m_percent / 100, m_percent % 100); | ||
298 | return buf; | 298 | return buf; | ||
299 | } | 299 | } | ||
300 | inline void setPercent(int p) { | 300 | inline void setPercent(int p) { | ||
Context not available. |