mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-04-07 15:36:18 +00:00
Add usz alias for std::size_t
This commit is contained in:
parent
360c4d1554
commit
fb29933d3d
173 changed files with 718 additions and 717 deletions
|
|
@ -50,7 +50,7 @@ void input_dialog::set_input_font(const QFont& font, bool fix_width, char sample
|
|||
{
|
||||
if (int max = m_input->maxLength(); max > 0 && fix_width && std::isprint(static_cast<uchar>(sample)))
|
||||
{
|
||||
const QString str = qstr(std::string(static_cast<std::size_t>(max), sample));
|
||||
const QString str = qstr(std::string(static_cast<usz>(max), sample));
|
||||
m_input->setFixedWidth(gui::utils::get_label_width(str, &font));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue