From: Flavio Tordini Date: Mon, 31 Aug 2009 07:21:13 +0000 (+0200) Subject: Fixed pause action status tip X-Git-Tag: 0.6~32 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0817201dd8aa205f3532c3d850e63786b728e649;p=minitube Fixed pause action status tip --- diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 8eeb4f6..a7621f1 100755 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -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: