Skip to content

Commit cb77f97

Browse files
playback-history-qt: Initialize default settings
They were defined but not used until now.
1 parent c097ae7 commit cb77f97

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/playback-history-qt/playback-history.cc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ class PlaybackHistory : public GeneralPlugin
7979

8080
constexpr PlaybackHistory() : GeneralPlugin(info, false) {}
8181

82+
bool init() override;
8283
void * get_qt_widget() override;
8384
int take_message(const char * code, const void *, int) override;
8485
};
@@ -807,6 +808,12 @@ void HistoryView::makeCurrent(const QModelIndex & index)
807808

808809
static QPointer<HistoryView> s_history_view;
809810

811+
bool PlaybackHistory::init()
812+
{
813+
aud_config_set_defaults(configSection, defaults);
814+
return true;
815+
}
816+
810817
void * PlaybackHistory::get_qt_widget()
811818
{
812819
assert(!s_history_view);

0 commit comments

Comments
 (0)