diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2016-11-24 16:32:30 +0100 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2016-11-25 08:39:18 +0000 |
commit | 224fda31dff76d61644a71f5e0b499b9daf72719 (patch) | |
tree | d12fa6f4a7473200aaae9f774901e8edb3d1661a /src/plugins/bineditor/bineditorwidget.h | |
parent | 4c22f3a76c59635368d51e9da096a076bd387ddf (diff) |
Keep bineditor zoom in sync with global settings
The code is basically copied from TextEditorWidget.
Change-Id: I5a88814d59ee991be030b15840e1aff08f20a25b
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/bineditor/bineditorwidget.h')
-rw-r--r-- | src/plugins/bineditor/bineditorwidget.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/bineditor/bineditorwidget.h b/src/plugins/bineditor/bineditorwidget.h index de8d78462c4..6794a77d387 100644 --- a/src/plugins/bineditor/bineditorwidget.h +++ b/src/plugins/bineditor/bineditorwidget.h @@ -78,8 +78,7 @@ public: void updateContents(); bool save(QString *errorString, const QString &oldFileName, const QString &newFileName); - void zoomIn(int range = 1); - void zoomOut(int range = 1); + void zoomF(float delta); enum MoveMode { MoveAnchor, |