forked from qt-creator/qt-creator
QmlProfiler: Move zoom calculations into QML and simplify them.
The zoom level calculations were much too complex and introduced rounding errors in various places. By moving them all into one place and avoiding circular recalculations of the same thing those problems are mitigated. Task-number: QTCREATORBUG-10635 Change-Id: I7316caad1a590964402056a2e6430c8d059ae097 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
@@ -112,7 +112,6 @@ private slots:
|
||||
void toggleLockMode(bool);
|
||||
void updateLockButton();
|
||||
|
||||
void setZoomLevel(int zoomLevel);
|
||||
void updateRange();
|
||||
void mouseWheelMoved(int mouseX, int mouseY, int wheelDelta);
|
||||
|
||||
@@ -136,7 +135,6 @@ signals:
|
||||
void rangeModeChanged(bool);
|
||||
void lockModeChanged(bool);
|
||||
void enableToolbar(bool);
|
||||
void zoomLevelChanged(int);
|
||||
void showZoomSlider(bool);
|
||||
|
||||
void resized();
|
||||
|
||||
Reference in New Issue
Block a user