mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-08 16:05:56 +00:00
Small warnings cleanup (#6671)
* Ignore more warnings These are intentional * Signed/unsigned mismatch when comparing * Explictly cast values * Intentionally discard a nodiscard value * Change ppu_tid to u32 * Do not use POSIX function name on Windows * Qt: Use horizontalAdvance instead of width * Change progress variables to u32
This commit is contained in:
parent
89a2d04f96
commit
f3ed26e9db
17 changed files with 45 additions and 39 deletions
|
|
@ -171,7 +171,7 @@ namespace gui
|
|||
|
||||
for (int i = 0; i < combo->count(); ++i)
|
||||
{
|
||||
max_width = std::max(max_width, font_metrics.width(combo->itemText(i)));
|
||||
max_width = std::max(max_width, font_metrics.horizontalAdvance(combo->itemText(i)));
|
||||
}
|
||||
|
||||
if (combo->view()->minimumWidth() < max_width)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue