diff options
author | jkobus <jaroslaw.kobus@digia.com> | 2014-07-04 13:55:51 +0200 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@digia.com> | 2014-07-07 10:34:11 +0200 |
commit | 91e42710697944375780708b2e8637b2f57608ac (patch) | |
tree | a01f7236821adde8c3d108e2a441fee056e98fdb /src/plugins/diffeditor/diffeditor.h | |
parent | cb7963bc18297251bd44480ca9392d16e20e17f8 (diff) |
Hide reload button for diff editor when there is no reloader
Refactor code a bit. Now DiffEditorController has a pointer
to DiffEditorReloader.
Change-Id: I224579127f112923bc665cd59717b0c4d833981b
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/diffeditor/diffeditor.h')
-rw-r--r-- | src/plugins/diffeditor/diffeditor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/diffeditor/diffeditor.h b/src/plugins/diffeditor/diffeditor.h index cd09ee1e46..1082b6e654 100644 --- a/src/plugins/diffeditor/diffeditor.h +++ b/src/plugins/diffeditor/diffeditor.h @@ -83,6 +83,7 @@ private slots: void entryActivated(int index); void slotDescriptionChanged(const QString &description); void slotDescriptionVisibilityChanged(); + void slotReloaderChanged(DiffEditorReloader *reloader); void slotDiffEditorSwitched(); private: @@ -105,6 +106,7 @@ private: QToolBar *m_toolBar; QComboBox *m_entriesComboBox; QAction *m_toggleDescriptionAction; + QAction *m_reloadAction; QToolButton *m_diffEditorSwitcher; }; |