diff options
author | Andre Hartmann <aha_1980@gmx.de> | 2017-12-29 09:11:27 +0100 |
---|---|---|
committer | André Hartmann <aha_1980@gmx.de> | 2017-12-30 18:58:25 +0000 |
commit | b2aa1b98459fb0eb6be4cc96d9614901371cb33e (patch) | |
tree | e79bf34dcdb905bf36da7691e26e352434af856b /src/plugins/coreplugin/locator/spotlightlocatorfilter.h | |
parent | ccc0bebcf4323ac4982e1d9b5f1407c0bb0eebf7 (diff) |
Locator: Cleanup and modernize Locator and filters
* Omit QLatin1{Char|String}
* Use member initialization
* Use range-based-for
(and fixed the cases with non-const Qt container)
* Sort includes to common style
Change-Id: Ibc33a732bb153862efd6d5febfac758229cb61d4
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Diffstat (limited to 'src/plugins/coreplugin/locator/spotlightlocatorfilter.h')
-rw-r--r-- | src/plugins/coreplugin/locator/spotlightlocatorfilter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/coreplugin/locator/spotlightlocatorfilter.h b/src/plugins/coreplugin/locator/spotlightlocatorfilter.h index 45dc33900d1..1c6dd2876cf 100644 --- a/src/plugins/coreplugin/locator/spotlightlocatorfilter.h +++ b/src/plugins/coreplugin/locator/spotlightlocatorfilter.h @@ -39,7 +39,7 @@ public: // tr() must not be placed in .mm file. setId("SpotlightFileNamesLocatorFilter"); setDisplayName(tr("Spotlight File Name Index")); - setShortcutString(QLatin1String("md")); + setShortcutString("md"); } void prepareSearch(const QString &entry) override; |