Commit ebc4dae1 authored by Gustavo Carneiro's avatar Gustavo Carneiro
Browse files

konsole: bugfix: 421906, remove QString()

parent 57dde9f1
......@@ -1654,7 +1654,7 @@ void Session::saveSession(KConfigGroup& group)
group.writePathEntry("WorkingDir", currentWorkingDirectory());
group.writeEntry("LocalTab", tabTitleFormat(LocalTabTitle));
group.writeEntry("RemoteTab", tabTitleFormat(RemoteTabTitle));
group.writeEntry("TabColor", QString(color().name(QColor::HexArgb)));
group.writeEntry("TabColor", color().isValid() ? color().name(QColor::HexArgb) : QString());
group.writeEntry("SessionGuid", _uniqueIdentifier.toString());
group.writeEntry("Encoding", QString::fromUtf8(codec()));
}
......
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