Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit e67dfac0 authored by Kurt Hindenburg's avatar Kurt Hindenburg

simplify : !A || (A && B) is equivalent to !A || B

parent 2a2716e6
......@@ -180,7 +180,7 @@ bool EditProfileDialog::isValidProfileName()
QFileInfo fileInfo(_profile->path());
if (fileInfo.exists() && !fileInfo.isWritable()) {
if (!_tempProfile->isPropertySet(Profile::Name)
|| (_tempProfile->isPropertySet(Profile::Name) && _tempProfile->name() == _profile->name())) {
|| (_tempProfile->name() == _profile->name())) {
KMessageBox::sorry(this,
i18n("<p>Konsole does not have permission to save this profile to:<br /> \"%1\"</p>"
"<p>To be able to save settings you can either change the permissions "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment