diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2018-10-27 15:06:22 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2018-10-27 15:06:22 +0000 |
| commit | e7cbfaf4e7b7573c25e440fbd17057dabe6e1b47 (patch) | |
| tree | 4524436bb2f0b478817920244cded35f4e7ed318 /src/plugins/General/history/historywindow.h | |
| parent | 5b1b1b669c23519f72b62a6f36a20ffbd3fb30e5 (diff) | |
| download | qmmp-e7cbfaf4e7b7573c25e440fbd17057dabe6e1b47.tar.gz qmmp-e7cbfaf4e7b7573c25e440fbd17057dabe6e1b47.tar.bz2 qmmp-e7cbfaf4e7b7573c25e440fbd17057dabe6e1b47.zip | |
history: added sorting by time
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8411 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/history/historywindow.h')
| -rw-r--r-- | src/plugins/General/history/historywindow.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/General/history/historywindow.h b/src/plugins/General/history/historywindow.h index 754cbef8e..7736b5e7d 100644 --- a/src/plugins/General/history/historywindow.h +++ b/src/plugins/General/history/historywindow.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2017 by Ilya Kotov * + * Copyright (C) 2017-2018 by Ilya Kotov * * forkotov02@ya.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -44,6 +44,7 @@ private slots: void on_lastMonthButton_clicked(); void on_fromButton_clicked(); void on_toButton_clicked(); + void onSortIndicatorChanged(int index, Qt::SortOrder order); private: void loadHistory(); @@ -57,6 +58,7 @@ private: Ui::HistoryWindow *m_ui; QSqlDatabase m_db; MetaDataFormatter m_formatter; + Qt::SortOrder m_order; }; #endif // HISTORYWINDOW_H |
