2020-05-22 Fred Gleason <fredg@paravelsystems.com>

* Added 'RDListView::NumericSort' to the 'RDListView::SortType'
	enumeration.
	* Fixed a bug in rdlibrary(1) that caused cuts to be incorrectly
	sorted when scheduled 'By Specified Order'.
This commit is contained in:
Fred Gleason
2020-05-22 15:13:23 -04:00
parent 0ba49d3e28
commit f51f39be11
4 changed files with 26 additions and 6 deletions

View File

@@ -2,7 +2,7 @@
//
// A contiguous-selection only QListView widget for Rivendell
//
// (C) Copyright 2002-2003,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2020 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@@ -31,7 +31,7 @@ class RDListView : public Q3ListView
Q_OBJECT
public:
enum SortType {NormalSort=0,TimeSort=1,LineSort=2,GpioSort=3};
enum SortType {NormalSort=0,TimeSort=1,LineSort=2,GpioSort=3,NumericSort=4};
RDListView(QWidget *parent);
int hardSortColumn() const;
void setHardSortColumn(int col);