| 2079 | } |
| 2080 | |
| 2081 | void reader::on_decreaseScaleBtn_clicked() |
| 2082 | { |
| 2083 | int sliderCurrentValue; |
| 2084 | int sliderWantedValue; |
| 2085 | sliderCurrentValue = ui->pdfScaleSlider->value(); |
| 2086 | sliderWantedValue = sliderCurrentValue - 1; |
| 2087 | if(sliderWantedValue < ui->pdfScaleSlider->QAbstractSlider::minimum()) { |
| 2088 | showToast("Minimum scale reached"); |
| 2089 | } |
| 2090 | else { |
| 2091 | ui->pdfScaleSlider->setValue(sliderWantedValue); |
| 2092 | } |
| 2093 | } |
| 2094 | |
| 2095 | void reader::on_increaseScaleBtn_clicked() |
| 2096 | { |
nothing calls this directly
no outgoing calls
no test coverage detected