[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [calligra] karbon/ui/dockers: use official icons for visibility
From:       Jan Hambrecht <jaham () gmx ! net>
Date:       2011-12-16 23:29:23
Message-ID: 20111216232923.1F2F8A60A6 () git ! kde ! org
[Download RAW message or body]

Git commit 31d659d7f9b8a5a29a672ecac62248c756bbd97e by Jan Hambrecht.
Committed on 16/12/2011 at 22:57.
Pushed by jaham into branch 'master'.

use official icons for visibility

M  +1    -1    karbon/ui/dockers/KarbonLayerModel.cpp

http://commits.kde.org/calligra/31d659d7f9b8a5a29a672ecac62248c756bbd97e

diff --git a/karbon/ui/dockers/KarbonLayerModel.cpp b/karbon/ui/dockers/Kar=
bonLayerModel.cpp
index c753a2fa..b216cf4 100644
--- a/karbon/ui/dockers/KarbonLayerModel.cpp
+++ b/karbon/ui/dockers/KarbonLayerModel.cpp
@@ -257,7 +257,7 @@ bool KarbonLayerModel::setData(const QModelIndex &index=
, const QVariant &value,
 KoDocumentSectionModel::PropertyList KarbonLayerModel::properties(KoShape*=
 shape) const
 {
     PropertyList l;
-    l << Property(i18nc("Visibility state of the shape", "Visible"), Small=
Icon("14_layer_visible"), SmallIcon("14_layer_novisible"), shape->isVisible=
());
+    l << Property(i18nc("Visibility state of the shape", "Visible"), Small=
Icon("layer-visible-on"), SmallIcon("layer-visible-off"), shape->isVisible(=
));
     l << Property(i18nc("Lock state of the shape", "Locked"), SmallIcon("o=
bject-locked"), SmallIcon("object-unlocked"), shape->isGeometryProtected());
     l << Property(i18nc("The z-index of the shape", "zIndex"), QString("%1=
").arg(shape->zIndex()));
     l << Property(i18nc("The opacity of the shape", "Opacity"), QString("%=
1").arg(1.0 - shape->transparency()));

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic