mirror of
https://github.com/epasveer/seer.git
synced 2026-08-30 00:50:42 +08:00
Made adaptation to Qt6. Now it compiles without any errors and runs.
More work is required to get rid of Qt5Compat shims
This commit is contained in:
@@ -73,9 +73,9 @@ void SeerAsmWidget::setData (const QString& data) {
|
||||
QString opcodes_text = Seer::parseFirst(asm_text, "opcodes=", '"', '"', false);
|
||||
QString inst_text = Seer::parseFirst(asm_text, "inst=", '"', '"', false);
|
||||
|
||||
address_width = std::max(address_width,address_text.length());
|
||||
opcode_width = std::max(opcode_width, opcodes_text.length());
|
||||
inst_width = std::max(inst_width, inst_text.length());
|
||||
address_width = std::max((qsizetype)address_width, address_text.length());
|
||||
opcode_width = std::max((qsizetype)opcode_width, opcodes_text.length());
|
||||
inst_width = std::max((qsizetype)inst_width, inst_text.length());
|
||||
}
|
||||
|
||||
// Write header.
|
||||
|
||||
Reference in New Issue
Block a user