From 2a1f4a61fa089ac7df688b526b72fa0824e9aa8f Mon Sep 17 00:00:00 2001 From: Alexandre Almeida Date: Sun, 9 Feb 2014 18:54:23 -0200 Subject: [PATCH] Update piano_roll.h A better way to update the play button icons, which requires less "if" checks and method calls in total. --- include/piano_roll.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/piano_roll.h b/include/piano_roll.h index 162a6723c..05993c27f 100644 --- a/include/piano_roll.h +++ b/include/piano_roll.h @@ -89,7 +89,7 @@ public: return "pianoroll"; } - void updatePlayPauseIcon(); + void setPauseIcon( bool pause ); protected: