File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ ProcessMonitor::update(const QList<ProcessInfo>& processList)
225225 item->setData (1 , Qt::UserRole, (long long )info.pid );
226226 item->setText (2 ,
227227 QString (" %1 MB" ).arg (info.memoryUsage / 1024 / 1024 ));
228- item->setData (2 , Qt::UserRole, info.memoryUsage );
228+ item->setData (2 , Qt::UserRole, (uint) info.memoryUsage );
229229
230230 QString arch = info.is64Bit ? " x64" : " x86" ;
231231 item->setText (3 , arch);
@@ -274,7 +274,7 @@ ProcessMonitor::update(const QList<ProcessInfo>& processList)
274274 item->setData (1 , Qt::UserRole, (long long )info.pid );
275275 item->setText (2 ,
276276 QString (" %1 MB" ).arg (info.memoryUsage / 1024 / 1024 ));
277- item->setData (2 , Qt::UserRole, info.memoryUsage );
277+ item->setData (2 , Qt::UserRole, (uint) info.memoryUsage );
278278
279279 QString arch = info.is64Bit ? " x64" : " x86" ;
280280 item->setText (3 , arch);
You can’t perform that action at this time.
0 commit comments