mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-16 16:14:47 -04:00
UString integration done
- now UString works for both Qt (uses QString) and non-Qt (uses modified CBString) builds
This commit is contained in:
parent
9bd71281b9
commit
804a55ba64
8 changed files with 20 additions and 19 deletions
|
@ -44,9 +44,9 @@ QVariant TreeModel::data(const UModelIndex &index, int role) const
|
|||
TreeItem *item = static_cast<TreeItem*>(index.internalPointer());
|
||||
|
||||
if (role == Qt::DisplayRole)
|
||||
return (const char*)item->data(index.column());
|
||||
return (const char*)item->data(index.column()).toLocal8Bit();
|
||||
else
|
||||
return (const char*)item->info();
|
||||
return (const char*)item->info().toLocal8Bit();
|
||||
}
|
||||
|
||||
Qt::ItemFlags TreeModel::flags(const UModelIndex &index) const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue