summaryrefslogtreecommitdiffstats
path: root/src/app
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2020-06-30 16:50:28 +0200
committergregory guy <gregory-tde@laposte.net>2020-06-30 17:31:58 +0200
commit9977caccb33207b4dabc61485239d865f8aca639 (patch)
treea620402c8142a6fdeacaf189c337d4c3b261d9f9 /src/app
parent0aea32338c4e10924b6fa391bf25ecd55cbb0341 (diff)
downloadcodeine-9977caccb33207b4dabc61485239d865f8aca639.tar.gz
codeine-9977caccb33207b4dabc61485239d865f8aca639.zip
Bring back missing icons, thanks to Slávek Banko for the tip.
Signed-off-by: gregory guy <gregory-tde@laposte.net>
Diffstat (limited to 'src/app')
-rw-r--r--src/app/actions.cpp2
-rw-r--r--src/app/mainWindow.cpp2
-rw-r--r--src/app/stateChange.cpp2
3 files changed, 3 insertions, 3 deletions
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 );