mirror of
https://github.com/fergalmoran/flameshot.git
synced 2026-01-08 12:12:27 +00:00
Fix some issues detected by Clazy (#384)
* Fix old style connect * Fix unneeded QString memory allocations
This commit is contained in:
@@ -70,7 +70,7 @@ QString CommandOption::valueName() const {
|
||||
|
||||
void CommandOption::setValue(const QString &value) {
|
||||
if (m_valueName.isEmpty()) {
|
||||
m_valueName = "value";
|
||||
m_valueName = QLatin1String("value");
|
||||
}
|
||||
m_value = value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user