Commit bcdd6d4c authored by Nikita Baryshnikov's avatar Nikita Baryshnikov Committed by Orgad Shaneh

SearchResultWindowPrivate: initialize members in ctor

and remove unused variable

Change-Id: I89c042ed834e978a97623a0544b4a6d754d29bc3
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
parent 1cd37bff
......@@ -86,7 +86,6 @@ namespace Internal {
int visibleSearchIndex() const;
void setCurrentIndex(int index, bool focus);
FindPlugin *m_plugin;
SearchResultWindow *q;
QList<Internal::SearchResultWidget *> m_searchResultWidgets;
QToolButton *m_expandCollapseButton;
......@@ -109,9 +108,16 @@ namespace Internal {
void popupRequested(bool focus);
};
SearchResultWindowPrivate::SearchResultWindowPrivate(SearchResultWindow *window)
: q(window),
m_tabWidth(8)
SearchResultWindowPrivate::SearchResultWindowPrivate(SearchResultWindow *window) :
q(window),
m_expandCollapseButton(0),
m_expandCollapseAction(0),
m_spacer(0),
m_historyLabel(0),
m_spacer2(0),
m_recentSearchesBox(0),
m_widget(0),
m_tabWidth(8)
{
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment