Skip to content

Commit

Permalink
Add Syncthing '+' icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Martchus committed May 1, 2018
1 parent 3857079 commit aa9f88d
Show file tree
Hide file tree
Showing 4 changed files with 160 additions and 0 deletions.
157 changes: 157 additions & 0 deletions model/resources/icons/hicolor/scalable/status/syncthing-sync-new.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions model/resources/syncthingmodelicons.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@
<file>icons/hicolor/scalable/mimetypes/text-x-generic.svg</file>
<file>icons/hicolor/scalable/status/syncthing-error-sync.svg</file>
<file>icons/hicolor/scalable/status/syncthing-sync-complete.svg</file>
<file>icons/hicolor/scalable/status/syncthing-sync-new.svg</file>
</qresource>
</RCC>
1 change: 1 addition & 0 deletions model/syncthingicons.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ StatusIcons::StatusIcons()
, syncComplete(QIcon(renderSvgImage(QStringLiteral(":/icons/hicolor/scalable/status/syncthing-sync-complete.svg"))))
, error(QIcon(renderSvgImage(QStringLiteral(":/icons/hicolor/scalable/status/syncthing-error.svg"))))
, errorSync(QIcon(renderSvgImage(QStringLiteral(":/icons/hicolor/scalable/status/syncthing-error-sync.svg"))))
, newItem(QIcon(renderSvgImage(QStringLiteral(":/icons/hicolor/scalable/status/syncthing-new.svg"))))
{
}

Expand Down
1 change: 1 addition & 0 deletions model/syncthingicons.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ struct StatusIcons {
QIcon syncComplete;
QIcon error;
QIcon errorSync;
QIcon newItem;
};

const StatusIcons LIB_SYNCTHING_MODEL_EXPORT &statusIcons();
Expand Down

0 comments on commit aa9f88d

Please sign in to comment.