--- a/dirbrowser/dirbrowser.h
+++ b/dirbrowser/dirbrowser.h
@@ -59,7 +59,8 @@
void searchPrev();
void returnPressedInSearch();
void serverSearch();
-
+ void saveSearchHistory();
+
void onInsertDone() {m_insertactive = false;}
void setInsertActive(bool onoff);
void onBrowseInNewTab(QString UDN, std::vector<CDBrowser::CtPathElt>);
@@ -77,10 +78,11 @@
void setupTabConnections(int i);
void setupTabConnections(CDBrowser* w);
- Ui::DirBrowser *ui;
+ Ui::DirBrowser *ui{0};
std::shared_ptr<Playlist> m_pl;
- bool m_insertactive;
- RandPlayer *m_randplayer;
+ bool m_insertactive{false};
+ RandPlayer *m_randplayer{0};
+ QStringList m_searchHistory;
};