forked from qt-creator/qt-creator
DiffEditor: Modernize
* Use member init
* Use nullptr
* Use range-for
* omit QLatin1{String|Char} where possible
Change-Id: Ib231b747cdd9073b3d4fc6779b8e0afb2b404a31
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: André Hartmann <aha_1980@gmx.de>
This commit is contained in:
committed by
André Hartmann
parent
53a151074a
commit
aae3056b33
@@ -31,11 +31,11 @@ namespace DiffEditor {
|
||||
namespace Icons {
|
||||
|
||||
const Utils::Icon TOP_BAR({
|
||||
{QLatin1String(":/diffeditor/images/topbar.png"), Utils::Theme::IconsBaseColor}});
|
||||
{":/diffeditor/images/topbar.png", Utils::Theme::IconsBaseColor}});
|
||||
const Utils::Icon UNIFIED_DIFF({
|
||||
{QLatin1String(":/diffeditor/images/unifieddiff.png"), Utils::Theme::IconsBaseColor}});
|
||||
{":/diffeditor/images/unifieddiff.png", Utils::Theme::IconsBaseColor}});
|
||||
const Utils::Icon SIDEBYSIDE_DIFF({
|
||||
{QLatin1String(":/diffeditor/images/sidebysidediff.png"), Utils::Theme::IconsBaseColor}});
|
||||
{":/diffeditor/images/sidebysidediff.png", Utils::Theme::IconsBaseColor}});
|
||||
|
||||
} // namespace Icons
|
||||
} // namespace DiffEditor
|
||||
|
||||
Reference in New Issue
Block a user