| 3966 | } |
| 3967 | |
| 3968 | static double parseZoomString(QString z) |
| 3969 | { |
| 3970 | // kdelibs4 sometimes adds accelerators to actions' text directly :( |
| 3971 | z.remove(QLatin1Char('&')); |
| 3972 | z.remove(QLatin1Char('%')); |
| 3973 | return QLocale().toDouble(z) / 100.0; |
| 3974 | } |
| 3975 | |
| 3976 | static QString makePrettyZoomString(double value) |
| 3977 | { |
no test coverage detected