mirror of
https://github.com/redstrate/Novus.git
synced 2025-04-27 14:17:45 +00:00
Adapt exdpart to physis API changes
This commit is contained in:
parent
9295980e3e
commit
8de878791e
1 changed files with 3 additions and 3 deletions
|
@ -20,12 +20,12 @@ void EXDPart::loadSheet(const QString& name) {
|
|||
|
||||
auto exh = physis_gamedata_read_excel_sheet_header(data, name.toStdString().c_str());
|
||||
|
||||
for(int i = 0; i < exh.page_count; i++) {
|
||||
for(int i = 0; i < exh->page_count; i++) {
|
||||
QTableWidget* tableWidget = new QTableWidget();
|
||||
|
||||
tableWidget->setColumnCount(exh.column_count);
|
||||
tableWidget->setColumnCount(exh->column_count);
|
||||
|
||||
auto exd = physis_gamedata_read_excel_sheet(data, name.toStdString().c_str(), &exh, exh.languages[0], i);
|
||||
auto exd = physis_gamedata_read_excel_sheet(data, name.toStdString().c_str(), exh, exh->languages[0], i);
|
||||
|
||||
tableWidget->setRowCount(exd.row_count);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue