Commit 8d9927d
fix(sessionmanager): adapt QString::arg usage for Qt 6.10.1
Qt 6.10.1 no longer accepts QDBusReply<T> as an argument to QString::arg().
Passing a QDBusReply<unsigned int> directly results in a template
substitution failure with enable_if<false>.
This fix extracts the actual value using .value() before passing it
to QString::arg(), restoring compatibility with Qt 6.10.1 and preserving
existing logic.1 parent c00970c commit 8d9927d
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
484 | 484 | | |
485 | 485 | | |
486 | 486 | | |
487 | | - | |
| 487 | + | |
488 | 488 | | |
489 | 489 | | |
490 | 490 | | |
| |||
0 commit comments