forked from qt-creator/qt-creator
SearchResultWindowPrivate: initialize members in ctor
and remove unused variable Change-Id: I89c042ed834e978a97623a0544b4a6d754d29bc3 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
1cd37bff95
commit
bcdd6d4ca0
@@ -86,7 +86,6 @@ namespace Internal {
|
|||||||
int visibleSearchIndex() const;
|
int visibleSearchIndex() const;
|
||||||
void setCurrentIndex(int index, bool focus);
|
void setCurrentIndex(int index, bool focus);
|
||||||
|
|
||||||
FindPlugin *m_plugin;
|
|
||||||
SearchResultWindow *q;
|
SearchResultWindow *q;
|
||||||
QList<Internal::SearchResultWidget *> m_searchResultWidgets;
|
QList<Internal::SearchResultWidget *> m_searchResultWidgets;
|
||||||
QToolButton *m_expandCollapseButton;
|
QToolButton *m_expandCollapseButton;
|
||||||
@@ -109,9 +108,16 @@ namespace Internal {
|
|||||||
void popupRequested(bool focus);
|
void popupRequested(bool focus);
|
||||||
};
|
};
|
||||||
|
|
||||||
SearchResultWindowPrivate::SearchResultWindowPrivate(SearchResultWindow *window)
|
SearchResultWindowPrivate::SearchResultWindowPrivate(SearchResultWindow *window) :
|
||||||
: q(window),
|
q(window),
|
||||||
m_tabWidth(8)
|
m_expandCollapseButton(0),
|
||||||
|
m_expandCollapseAction(0),
|
||||||
|
m_spacer(0),
|
||||||
|
m_historyLabel(0),
|
||||||
|
m_spacer2(0),
|
||||||
|
m_recentSearchesBox(0),
|
||||||
|
m_widget(0),
|
||||||
|
m_tabWidth(8)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user