diff --git a/source/frontends/qapple/emulator.cpp b/source/frontends/qapple/emulator.cpp index 9c425f18..8028be4c 100644 --- a/source/frontends/qapple/emulator.cpp +++ b/source/frontends/qapple/emulator.cpp @@ -24,7 +24,7 @@ void Emulator::setVideoSize(QMdiSubWindow * window, const QSize & size) window->resize(size + gap); } -void Emulator::setZoom(QMdiSubWindow * window, int x) +void Emulator::setZoom(QMdiSubWindow * window, const int x) { const QSize target = video->minimumSize() * x; setVideoSize(window, target); diff --git a/source/frontends/qapple/emulator.h b/source/frontends/qapple/emulator.h index 7bd077ca..0641c9b0 100644 --- a/source/frontends/qapple/emulator.h +++ b/source/frontends/qapple/emulator.h @@ -14,7 +14,7 @@ public: void redrawScreen(); - void setZoom(QMdiSubWindow * window, int x); + void setZoom(QMdiSubWindow * window, const int x); void set43AspectRatio(QMdiSubWindow * window); private: diff --git a/source/frontends/qapple/qapple.cpp b/source/frontends/qapple/qapple.cpp index 2da1a7e8..bffba618 100644 --- a/source/frontends/qapple/qapple.cpp +++ b/source/frontends/qapple/qapple.cpp @@ -167,7 +167,7 @@ void QApple::timerEvent(QTimerEvent *) setNextTimer(nextGap); } -void QApple::setNextTimer(int ms) +void QApple::setNextTimer(const int ms) { if (ms != myCurrentGap) { diff --git a/source/frontends/qapple/qapple.h b/source/frontends/qapple/qapple.h index 73a5fb4d..dfb7cdbc 100644 --- a/source/frontends/qapple/qapple.h +++ b/source/frontends/qapple/qapple.h @@ -29,7 +29,7 @@ private slots: private: - void setNextTimer(int ms); + void setNextTimer(const int ms); QMdiSubWindow * myEmulatorWindow; Emulator * myEmulator;