From 10b8990ac5dab17faf82854c947c775a3d4d1776 Mon Sep 17 00:00:00 2001 From: Alexandre Almeida Date: Sun, 9 Feb 2014 18:52:11 -0200 Subject: [PATCH] Update song_editor.h A better way to update the play button icons, which requires less "if" checks and method calls in total. --- include/song_editor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/song_editor.h b/include/song_editor.h index af10cd51c..1b3483778 100644 --- a/include/song_editor.h +++ b/include/song_editor.h @@ -59,12 +59,12 @@ public: songEditor( song * _song, songEditor * & _engine_ptr ); virtual ~songEditor(); + void setPauseIcon( bool pause ); + public slots: void scrolled( int _new_pos ); - void updatePlayPauseIcon(); - private slots: void setHighQuality( bool );