Changeset View
Changeset View
Standalone View
Standalone View
commands/imagelib/transforms/kpTransformFlipCommand.cpp
Show First 20 Lines • Show All 68 Lines • ▼ Show 20 Line(s) | 68 | if (m_horiz && m_vert) | |||
---|---|---|---|---|---|
69 | opName = i18n ("Flip horizontally and vertically"); | 69 | opName = i18n ("Flip horizontally and vertically"); | ||
70 | else if (m_horiz) | 70 | else if (m_horiz) | ||
71 | opName = i18n ("Flip horizontally"); | 71 | opName = i18n ("Flip horizontally"); | ||
72 | else if (m_vert) | 72 | else if (m_vert) | ||
73 | opName = i18n ("Flip vertically"); | 73 | opName = i18n ("Flip vertically"); | ||
74 | else | 74 | else | ||
75 | { | 75 | { | ||
76 | qCCritical(kpLogCommands) << "kpTransformFlipCommand::name() not asked to flip"; | 76 | qCCritical(kpLogCommands) << "kpTransformFlipCommand::name() not asked to flip"; | ||
77 | return QString(); | 77 | return {}; | ||
78 | } | 78 | } | ||
79 | #endif | 79 | #endif | ||
80 | 80 | | |||
81 | 81 | | |||
82 | if (m_actOnSelection) { | 82 | if (m_actOnSelection) { | ||
83 | return i18n ("Selection: %1", opName); | 83 | return i18n ("Selection: %1", opName); | ||
84 | } | 84 | } | ||
85 | 85 | | |||
▲ Show 20 Lines • Show All 50 Lines • Show Last 20 Lines |