Browse Source

Bring undo, redo, find, and revert icons into XDG compliance

Timothy Pearson 4 years ago
parent
commit
ffd6b5f842
2 changed files with 3 additions and 3 deletions
  1. 2
    2
      kolourpaint/kpcommandhistory.cpp
  2. 1
    1
      libkscan/kscanslider.cpp

+ 2
- 2
kolourpaint/kpcommandhistory.cpp View File

@@ -257,13 +257,13 @@ kpCommandHistoryBase::kpCommandHistoryBase (bool doReadConfig,
257 257
     : d (new kpCommandHistoryBasePrivate ())
258 258
 {
259 259
     m_actionUndo = new TDEToolBarPopupAction (undoActionText (),
260
-        TQString::fromLatin1 ("undo"),
260
+        TQString::fromLatin1 ("edit-undo"),
261 261
         TDEStdAccel::shortcut (TDEStdAccel::Undo),
262 262
         this, TQT_SLOT (undo ()),
263 263
         ac, KStdAction::name (KStdAction::Undo));
264 264
 
265 265
     m_actionRedo = new TDEToolBarPopupAction (redoActionText (),
266
-        TQString::fromLatin1 ("redo"),
266
+        TQString::fromLatin1 ("edit-redo"),
267 267
         TDEStdAccel::shortcut (TDEStdAccel::Redo),
268 268
         this, TQT_SLOT (redo ()),
269 269
         ac, KStdAction::name (KStdAction::Redo));

+ 1
- 1
libkscan/kscanslider.cpp View File

@@ -46,7 +46,7 @@ KScanSlider::KScanSlider( TQWidget *parent, const TQString& text,
46 46
     {
47 47
        TDEIconLoader *loader = TDEGlobal::iconLoader();
48 48
        m_stdButt = new TQPushButton( this );
49
-       m_stdButt->setPixmap( loader->loadIcon( "undo",TDEIcon::Small ));
49
+       m_stdButt->setPixmap( loader->loadIcon( "edit-undo",TDEIcon::Small ));
50 50
 
51 51
        /* connect the button click to setting the value */
52 52
        connect( m_stdButt, TQT_SIGNAL(clicked()),

Loading…
Cancel
Save