Switch to unified view

a/dirbrowser/dirbrowser.h b/dirbrowser/dirbrowser.h
...
...
57
    void onSearchTextChanged(const QString&);
57
    void onSearchTextChanged(const QString&);
58
    void searchNext();
58
    void searchNext();
59
    void searchPrev();
59
    void searchPrev();
60
    void returnPressedInSearch();
60
    void returnPressedInSearch();
61
    void serverSearch();
61
    void serverSearch();
62
62
    void saveSearchHistory();
63
    
63
    void onInsertDone() {m_insertactive = false;}
64
    void onInsertDone() {m_insertactive = false;}
64
    void setInsertActive(bool onoff);
65
    void setInsertActive(bool onoff);
65
    void onBrowseInNewTab(QString UDN, std::vector<CDBrowser::CtPathElt>);
66
    void onBrowseInNewTab(QString UDN, std::vector<CDBrowser::CtPathElt>);
66
    void onRandTracksToPlaylist(const MetaDataList& mdl);
67
    void onRandTracksToPlaylist(const MetaDataList& mdl);
67
    void onEnterRandPlay(RandPlayer::PlayMode mode, const
68
    void onEnterRandPlay(RandPlayer::PlayMode mode, const
...
...
75
    
76
    
76
private:
77
private:
77
    void setupTabConnections(int i);
78
    void setupTabConnections(int i);
78
    void setupTabConnections(CDBrowser* w);
79
    void setupTabConnections(CDBrowser* w);
79
80
80
    Ui::DirBrowser *ui;
81
    Ui::DirBrowser *ui{0};
81
    std::shared_ptr<Playlist> m_pl;
82
    std::shared_ptr<Playlist> m_pl;
82
    bool m_insertactive;
83
    bool m_insertactive{false};
83
    RandPlayer *m_randplayer;
84
    RandPlayer *m_randplayer{0};
85
    QStringList m_searchHistory;
84
};
86
};
85
87
86
88
87
#endif /* _DIRBROWSER_H_INCLUDED_ */
89
#endif /* _DIRBROWSER_H_INCLUDED_ */