Browse Source

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

tags/r14.0.0
Timothy Pearson 5 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,
: d (new kpCommandHistoryBasePrivate ())
{
m_actionUndo = new TDEToolBarPopupAction (undoActionText (),
TQString::fromLatin1 ("undo"),
TQString::fromLatin1 ("edit-undo"),
TDEStdAccel::shortcut (TDEStdAccel::Undo),
this, TQT_SLOT (undo ()),
ac, KStdAction::name (KStdAction::Undo));

m_actionRedo = new TDEToolBarPopupAction (redoActionText (),
TQString::fromLatin1 ("redo"),
TQString::fromLatin1 ("edit-redo"),
TDEStdAccel::shortcut (TDEStdAccel::Redo),
this, TQT_SLOT (redo ()),
ac, KStdAction::name (KStdAction::Redo));

+ 1
- 1
libkscan/kscanslider.cpp View File

@@ -46,7 +46,7 @@ KScanSlider::KScanSlider( TQWidget *parent, const TQString& text,
{
TDEIconLoader *loader = TDEGlobal::iconLoader();
m_stdButt = new TQPushButton( this );
m_stdButt->setPixmap( loader->loadIcon( "undo",TDEIcon::Small ));
m_stdButt->setPixmap( loader->loadIcon( "edit-undo",TDEIcon::Small ));

/* connect the button click to setting the value */
connect( m_stdButt, TQT_SIGNAL(clicked()),

Loading…
Cancel
Save