Avoid use of deprecated `QString::count()`

This commit is contained in:
Martchus 2023-01-31 15:33:20 +01:00
parent b32c29c29f
commit a8364be203
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ void PasswordGeneratorDialog::handleCheckedCategoriesChanged()
*/
void PasswordGeneratorDialog::handlePasswordChanged()
{
m_ui->copyPasswordCommandLinkButton->setEnabled(m_ui->passwordLineEdit->text().count() > 0);
m_ui->copyPasswordCommandLinkButton->setEnabled(m_ui->passwordLineEdit->text().size() > 0);
}
#ifndef QT_NO_CLIPBOARD