Commit 7efa7f02 authored by Timothée Giet's avatar Timothée Giet

remove files not needed

remove dark/light variants of the onionskin icon as this panel is always the same color, one version is enough.
parent fadd1bf4
......@@ -64,6 +64,8 @@ white64-krita.png
width_icon.png
width.png
workspace-chooser.png
onionA.png
onionB.png
dark_select.png
dark_pattern.png
......@@ -80,8 +82,6 @@ dark_properties.png
dark_selection-mode_ants.png
dark_selection-mode_invisible.png
dark_selection-mode_mask.png
dark_onionA.png
dark_onionB.png
light_select.png
light_pattern.png
......@@ -98,8 +98,6 @@ light_properties.png
light_selection-mode_ants.png
light_selection-mode_invisible.png
light_selection-mode_mask.png
light_onionA.png
light_onionB.png
DESTINATION ${DATA_INSTALL_DIR}/krita/pics)
add_subdirectory(app)
......
......@@ -23,7 +23,6 @@
#include "kis_view2.h"
#include <KoIcon.h>
#include <kis_icon.h>
#include <QPainter>
#include <QLineEdit>
......@@ -56,7 +55,7 @@ KisAnimationLayer::KisAnimationLayer(KisAnimationLayerBox *parent, int index)
connect(m_lockToggle, SIGNAL(clicked()), this, SLOT(lockToggleClicked()));
m_onionSkinToggle = new QPushButton(this);
m_onionSkinToggle->setIcon(kisIcon("onionA"));
m_onionSkinToggle->setIcon(koIcon("onionA"));
m_onionSkinToggle->setGeometry(QRect(150, 0, 20, 20));
connect(m_onionSkinToggle, SIGNAL(clicked()), this, SLOT(onionSkinToggleClicked()));
......@@ -96,7 +95,7 @@ void KisAnimationLayer::onionSkinToggleClicked()
m_layerBox->setOnionSkinState(layer, onionSkinState);
if(onionSkinState) {
m_onionSkinToggle->setIcon(kisIcon("onionB"));
m_onionSkinToggle->setIcon(koIcon("onionB"));
} else {
m_onionSkinToggle->setIcon(koIcon("onionA"));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment