chore: SettingsDialog, use auto where possible
This commit is contained in:
parent
0ca847334e
commit
637adc60b2
1 changed files with 1 additions and 1 deletions
|
|
@ -236,7 +236,7 @@ void SettingsDialog::updateKeyLengthOnFile(const QString &path)
|
|||
}
|
||||
|
||||
auto length = ssl.getCertKeyLength(path);
|
||||
QPixmap labelIcon = QPixmap(QIcon::fromTheme(QIcon::ThemeIcon::SecurityLow).pixmap(24, 24));
|
||||
auto labelIcon = QPixmap(QIcon::fromTheme(QIcon::ThemeIcon::SecurityLow).pixmap(24, 24));
|
||||
if (length == 2048)
|
||||
labelIcon = QPixmap(QIcon::fromTheme(QStringLiteral("security-medium")).pixmap(24, 24));
|
||||
if (length == 4096)
|
||||
|
|
|
|||
Loading…
Reference in a new issue