diff options
author | Benjamin Poulain <ikipou@gmail.com> | 2010-11-13 16:44:19 +0100 |
---|---|---|
committer | Benjamin Poulain <benjamin.poulain@nokia.com> | 2010-11-20 18:53:04 +0100 |
commit | bf94b5e71b1a7cedf2f69bb3cd61661bc21c24c3 (patch) | |
tree | 455d3bfc296e7784b843fe248df96f3d05d186b4 /src/mainview.h | |
parent | Update the name of MainView attribute to follow the conventions (diff) | |
download | rekonq-bf94b5e71b1a7cedf2f69bb3cd61661bc21c24c3.tar.xz |
Make the invariants of MainView explicit
Enforce the invariant of MainView by making the pointer const.
Reviewed by: Pierre Rossi
Reviewed by: Andrea Diamantini
Diffstat (limited to 'src/mainview.h')
-rw-r--r-- | src/mainview.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainview.h b/src/mainview.h index 22a3a46e..c59bd5e1 100644 --- a/src/mainview.h +++ b/src/mainview.h @@ -177,18 +177,18 @@ private: // -------------------------------------------------------------------------- - StackedUrlBar *m_widgetBar; + StackedUrlBar *const m_widgetBar; QString m_loadingGitPath; // the new tab button - QToolButton *m_addTabButton; + QToolButton *const m_addTabButton; int m_currentTabIndex; QList<HistoryItem> m_recentlyClosedTabs; - MainWindow *m_parentWindow; + MainWindow *const m_parentWindow; }; #endif // MAINVIEW_H |