aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/history/historywindow.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2018-10-27 15:06:22 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2018-10-27 15:06:22 +0000
commite7cbfaf4e7b7573c25e440fbd17057dabe6e1b47 (patch)
tree4524436bb2f0b478817920244cded35f4e7ed318 /src/plugins/General/history/historywindow.h
parent5b1b1b669c23519f72b62a6f36a20ffbd3fb30e5 (diff)
downloadqmmp-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.h4
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