summaryrefslogtreecommitdiff
path: root/src/plugins/qmlprofiler/qmlprofilertraceview.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@digia.com>2013-11-12 16:12:43 +0100
committerUlf Hermann <ulf.hermann@digia.com>2013-11-13 15:16:39 +0100
commit761fd1198d9c98e25c1fd591bf49518a30c712c0 (patch)
tree5ffad0652e66977b9c06fbdc0a186919c65092c9 /src/plugins/qmlprofiler/qmlprofilertraceview.h
parent9e0175d8bb9b532ab83353d2c38b5fd09a013fd3 (diff)
downloadqt-creator-761fd1198d9c98e25c1fd591bf49518a30c712c0.tar.gz
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>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilertraceview.h')
-rw-r--r--src/plugins/qmlprofiler/qmlprofilertraceview.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilertraceview.h b/src/plugins/qmlprofiler/qmlprofilertraceview.h
index 1dc517529f..9a956d9fe4 100644
--- a/src/plugins/qmlprofiler/qmlprofilertraceview.h
+++ b/src/plugins/qmlprofiler/qmlprofilertraceview.h
@@ -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();