]> git.sur5r.net Git - minitube/commitdiff
Fixed pause action status tip
authorFlavio Tordini <flavio.tordini@gmail.com>
Mon, 31 Aug 2009 07:21:13 +0000 (09:21 +0200)
committerFlavio Tordini <flavio.tordini@gmail.com>
Mon, 31 Aug 2009 07:21:13 +0000 (09:21 +0200)
src/MainWindow.cpp

index 8eeb4f64baba48de08192fd98284e4fa2fb663d2..a7621f19ab5785848048526a2384240cebb9d9bd 100755 (executable)
@@ -466,7 +466,7 @@ void MainWindow::stateChanged(Phonon::State newState, Phonon::State /* oldState
         pauseAct->setEnabled(true);
         pauseAct->setIcon(QtIconLoader::icon("media-pause", QIcon(":/images/pause.png")));
         pauseAct->setText(tr("&Pause"));
-        pauseAct->setStatusTip(tr("Pause playback"));
+        pauseAct->setStatusTip(tr("Pause playback") + " (" +  pauseAct->shortcut().toString() + ")");
         skipAct->setEnabled(true);
         break;
 
@@ -480,7 +480,7 @@ void MainWindow::stateChanged(Phonon::State newState, Phonon::State /* oldState
         pauseAct->setEnabled(true);
         pauseAct->setIcon(QtIconLoader::icon("media-play", QIcon(":/images/play.png")));
         pauseAct->setText(tr("&Play"));
-        pauseAct->setStatusTip(tr("Resume playback"));
+        pauseAct->setStatusTip(tr("Resume playback") + " (" +  pauseAct->shortcut().toString() + ")");
         break;
 
          case Phonon::BufferingState: