|
a/GUI/player/GUI_PlayerControls.cpp |
|
b/GUI/player/GUI_PlayerControls.cpp |
|
... |
|
... |
118 |
|
118 |
|
119 |
setProgressJump(percent);
|
119 |
setProgressJump(percent);
|
120 |
this->ui->songProgress->setValue(percent);
|
120 |
this->ui->songProgress->setValue(percent);
|
121 |
}
|
121 |
}
|
122 |
|
122 |
|
123 |
// This is called from the slider when the user wans a jump
|
123 |
// This is called from the slider when the user wants a jump
|
124 |
void GUI_Player::setProgressJump(int percent)
|
124 |
void GUI_Player::setProgressJump(int percent)
|
125 |
{
|
125 |
{
|
126 |
//qDebug() << "GUI_Player::setProgressJump: " << percent << " %";
|
126 |
//qDebug() << "GUI_Player::setProgressJump: " << percent << " %";
|
127 |
if (percent > 100 || percent < 0) {
|
127 |
if (percent > 100 || percent < 0) {
|
128 |
percent = 0;
|
128 |
percent = 0;
|