Avoid static members zoom_min_ and zoom_max_

Some compilers cannot use static class members by reference. std::min() and std::max() are passing parameters by const reference.
This commit is contained in:
Stephan Witt 2022-02-09 10:59:18 +01:00
parent 9faeaacfa8
commit cd995a2bc6

View File

@ -519,9 +519,9 @@ private:
/// from the default zoom pref
double zoom_ratio_ = 1.0;
/// Minimum zoom percentage
static int const zoom_min_ = 10;
int const zoom_min_ = 10;
/// Maximum zoom percentage
static int const zoom_max_ = 1000;
int const zoom_max_ = 1000;
// movability flag of all toolbars
bool toolbarsMovable_;