"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/widgets/ResourcesWidget.cpp" between
cutter-1.10.2.tar.gz and cutter-1.10.3.tar.gz

About: cutter is a Qt and C++ GUI for radare2 reverse engineering framework.

ResourcesWidget.cpp  (cutter-1.10.2):ResourcesWidget.cpp  (cutter-1.10.3)
skipping to change at line 30 skipping to change at line 30
} }
QVariant ResourcesModel::data(const QModelIndex &index, int role) const QVariant ResourcesModel::data(const QModelIndex &index, int role) const
{ {
const ResourcesDescription &res = resources->at(index.row()); const ResourcesDescription &res = resources->at(index.row());
switch (role) { switch (role) {
case Qt::DisplayRole: case Qt::DisplayRole:
switch (index.column()) { switch (index.column()) {
case NAME: case NAME:
return QString::number(res.name); return res.name;
case VADDR: case VADDR:
return RAddressString(res.vaddr); return RAddressString(res.vaddr);
case INDEX: case INDEX:
return QString::number(res.index); return QString::number(res.index);
case TYPE: case TYPE:
return res.type; return res.type;
case SIZE: case SIZE:
return qhelpers::formatBytecount(res.size); return qhelpers::formatBytecount(res.size);
case LANG: case LANG:
return res.lang; return res.lang;
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)