forked from qt-creator/qt-creator
Image Viewer: Fix capitalization for an action
Write prepositions in lower case also in action names, when they are not the first or last word in the name. Change-Id: I606b10ff9a08bb8542a03fc5a8a8f19dfd96277e Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
This commit is contained in:
@@ -86,7 +86,7 @@ void ImageViewerPlugin::extensionsInitialized()
|
||||
iv->resetToOriginalSize();
|
||||
});
|
||||
|
||||
a = registerNewAction(Constants::ACTION_FIT_TO_SCREEN, tr("Fit To Screen"),
|
||||
a = registerNewAction(Constants::ACTION_FIT_TO_SCREEN, tr("Fit to Screen"),
|
||||
QKeySequence(tr("Ctrl+=")));
|
||||
connect(a, &QAction::triggered, this, [this]() {
|
||||
if (ImageViewer *iv = currentImageViewer())
|
||||
|
||||
Reference in New Issue
Block a user