Skip to content

Commit

Permalink
chore: Fix QString count() deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
pktiuk committed Oct 20, 2024
1 parent 9fc56b8 commit dea521e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/keyboard/virtualkeyboardmousewidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ VirtualKeyPushButton *VirtualKeyboardMouseWidget::createNewKey(QString xcodestri
width = 32;
else
width = 41;
} else if ((xcodestring.startsWith("F") && (xcodestring.count() > 1)) || (xcodestring == "Print") ||
} else if ((xcodestring.startsWith("F") && (xcodestring.length() > 1)) || (xcodestring == "Print") ||
(xcodestring == "Escape") || (xcodestring == "Pause") || (xcodestring == "Delete"))
{
if (!m_isNumKeypad)
Expand Down

0 comments on commit dea521e

Please sign in to comment.