Commit 63672d2
committed
fix(sessionmanager): adapt QString::arg usage for Qt 6.10
Qt 6 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 and preserving
existing logic.1 parent 8110d51 commit 63672d2
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
484 | 484 | | |
485 | 485 | | |
486 | 486 | | |
487 | | - | |
| 487 | + | |
| 488 | + | |
488 | 489 | | |
489 | 490 | | |
490 | 491 | | |
| |||
0 commit comments