mirror of
https://github.com/fergalmoran/flameshot.git
synced 2026-01-06 17:13:58 +00:00
Add icon for accept tool
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
<file>img/app/org.flameshot.Flameshot.png</file>
|
||||
<file>img/app/flameshot.png</file>
|
||||
<file>img/app/keyboard.svg</file>
|
||||
<file>img/material/black/accept.svg</file>
|
||||
<file>img/material/black/arrow-bottom-left.svg</file>
|
||||
<file>img/material/black/centeralign.svg</file>
|
||||
<file>img/material/black/circle-outline.svg</file>
|
||||
@@ -46,6 +47,7 @@
|
||||
<file>img/material/black/minus.svg</file>
|
||||
<file>img/material/black/plus.svg</file>
|
||||
<file>img/material/black/shortcut.svg</file>
|
||||
<file>img/material/white/accept.svg</file>
|
||||
<file>img/material/white/arrow-bottom-left.svg</file>
|
||||
<file>img/material/white/centeralign.svg</file>
|
||||
<file>img/material/white/circle-outline.svg</file>
|
||||
|
||||
1
data/img/material/black/accept.svg
Normal file
1
data/img/material/black/accept.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"/></svg>
|
||||
|
After Width: | Height: | Size: 209 B |
1
data/img/material/white/accept.svg
Normal file
1
data/img/material/white/accept.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#FFFFFF"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"/></svg>
|
||||
|
After Width: | Height: | Size: 209 B |
@@ -23,8 +23,7 @@ bool AcceptTool::closeOnButtonPressed() const
|
||||
QIcon AcceptTool::icon(const QColor& background, bool inEditor) const
|
||||
{
|
||||
Q_UNUSED(inEditor)
|
||||
// TODO add new icon
|
||||
return qApp->style()->standardIcon(QStyle::SP_DialogApplyButton);
|
||||
return QIcon(iconPath(background) + "accept.svg");
|
||||
}
|
||||
|
||||
QString AcceptTool::name() const
|
||||
|
||||
Reference in New Issue
Block a user