Avoid use of deprecated `QString::count()`
This commit is contained in:
parent
b32c29c29f
commit
a8364be203
|
@ -159,7 +159,7 @@ void PasswordGeneratorDialog::handleCheckedCategoriesChanged()
|
||||||
*/
|
*/
|
||||||
void PasswordGeneratorDialog::handlePasswordChanged()
|
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
|
#ifndef QT_NO_CLIPBOARD
|
||||||
|
|
Loading…
Reference in New Issue