From 9977caccb33207b4dabc61485239d865f8aca639 Mon Sep 17 00:00:00 2001 From: gregory guy Date: Tue, 30 Jun 2020 16:50:28 +0200 Subject: Bring back missing icons, thanks to Slávek Banko for the tip. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: gregory guy --- src/app/actions.cpp | 2 +- src/app/mainWindow.cpp | 2 +- src/app/stateChange.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/app') diff --git a/src/app/actions.cpp b/src/app/actions.cpp index 65e1f39..57117f5 100644 --- a/src/app/actions.cpp +++ b/src/app/actions.cpp @@ -12,7 +12,7 @@ namespace Codeine { PlayAction::PlayAction( TQObject *receiver, const char *slot, TDEActionCollection *ac ) - : TDEToggleAction( i18n("Play"), "player_play", TQt::Key_Space, receiver, slot, ac, "play" ) + : TDEToggleAction( i18n("Play"), "media-playback-start", TQt::Key_Space, receiver, slot, ac, "play" ) {} void diff --git a/src/app/mainWindow.cpp b/src/app/mainWindow.cpp index af41a4f..f3daa02 100644 --- a/src/app/mainWindow.cpp +++ b/src/app/mainWindow.cpp @@ -251,7 +251,7 @@ MainWindow::setupActions() connect( new FullScreenAction( this, ac ), SIGNAL(toggled( bool )), SLOT(fullScreenToggled( bool )) ); new PlayAction( this, SLOT(play()), ac ); - new TDEAction( i18n("Stop"), "player_stop", Key_S, engine(), SLOT(stop()), ac, "stop" ); + new TDEAction( i18n("Stop"), "media-playback-stop", Key_S, engine(), SLOT(stop()), ac, "stop" ); new TDEToggleAction( i18n("Record"), "player_record", CTRL + Key_R, engine(), SLOT(record()), ac, "record" ); diff --git a/src/app/stateChange.cpp b/src/app/stateChange.cpp index 15846f5..db07231 100644 --- a/src/app/stateChange.cpp +++ b/src/app/stateChange.cpp @@ -87,7 +87,7 @@ MainWindow::engineStateChanged( Engine::State state ) // KDE has a shit special action for this, but it stupidly changes // the toolbar icon too. // TODO do this from the playAction since we do it in context menu too - const KGuiItem item = (state == Playing) ? KGuiItem( i18n("&Pause"), "player_pause" ) : KGuiItem( i18n("&Play"), "player_play" ); + const KGuiItem item = (state == Playing) ? KGuiItem( i18n("&Pause"), "media-playback-pause" ) : KGuiItem( i18n("&Play"), "media-playback-start" ); file_menu->changeItem( play_id, item.iconSet(), item.text() ); file_menu->setItemChecked( play_id, false ); -- cgit v1.2.3