forked from qt-creator/qt-creator
Timeline: Use the existing [un]locked icons
..and remove the own ones. Change-Id: I513bb78f07d405aa9699157db292085a847adbe7 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 147 B |
Binary file not shown.
|
Before Width: | Height: | Size: 139 B |
@@ -6,8 +6,6 @@
|
|||||||
<file>RangeDetails.qml</file>
|
<file>RangeDetails.qml</file>
|
||||||
<file>RangeMover.qml</file>
|
<file>RangeMover.qml</file>
|
||||||
<file>TimeDisplay.qml</file>
|
<file>TimeDisplay.qml</file>
|
||||||
<file>lock_closed.png</file>
|
|
||||||
<file>lock_open.png</file>
|
|
||||||
<file>ico_edit.png</file>
|
<file>ico_edit.png</file>
|
||||||
<file>TimeMarks.qml</file>
|
<file>TimeMarks.qml</file>
|
||||||
<file>Overview.qml</file>
|
<file>Overview.qml</file>
|
||||||
|
|||||||
@@ -78,11 +78,9 @@ public:
|
|||||||
icon = Utils::Icon({{QLatin1String(":/timeline/ico_edit.png"),
|
icon = Utils::Icon({{QLatin1String(":/timeline/ico_edit.png"),
|
||||||
Utils::Theme::IconsBaseColor}});
|
Utils::Theme::IconsBaseColor}});
|
||||||
else if (iconName == QLatin1String("lock_open"))
|
else if (iconName == QLatin1String("lock_open"))
|
||||||
icon = Utils::Icon({{QLatin1String(":/timeline/lock_open.png"),
|
icon = Utils::Icons::UNLOCKED_TOOLBAR;
|
||||||
Utils::Theme::IconsBaseColor}});
|
|
||||||
else if (iconName == QLatin1String("lock_closed"))
|
else if (iconName == QLatin1String("lock_closed"))
|
||||||
icon = Utils::Icon({{QLatin1String(":/timeline/lock_closed.png"),
|
icon = Utils::Icons::LOCKED_TOOLBAR;
|
||||||
Utils::Theme::IconsBaseColor}});
|
|
||||||
else if (iconName == QLatin1String("range_handle"))
|
else if (iconName == QLatin1String("range_handle"))
|
||||||
icon = Utils::Icon({{QLatin1String(":/timeline/range_handle.png"),
|
icon = Utils::Icon({{QLatin1String(":/timeline/range_handle.png"),
|
||||||
Utils::Theme::IconsBaseColor}});
|
Utils::Theme::IconsBaseColor}});
|
||||||
|
|||||||
Reference in New Issue
Block a user