mirror of
https://github.com/YACReader/yacreader
synced 2025-12-03 16:02:55 -05:00
fixed qt4 compilation
added remove/reset comics to SortVolumeComics
This commit is contained in:
@ -9,6 +9,7 @@
|
||||
#include <QDesktopServices>
|
||||
#include <QHeaderView>
|
||||
#include <QToolButton>
|
||||
#include <QSortFilterProxyModel>
|
||||
|
||||
#include "scraper_tableview.h"
|
||||
|
||||
@ -49,7 +50,11 @@ SelectVolume::SelectVolume(QWidget *parent)
|
||||
|
||||
tableVolumes = new ScraperTableView(this);
|
||||
tableVolumes->setSortingEnabled(true);
|
||||
#if QT_VERSION >= 0x050000
|
||||
tableVolumes->horizontalHeader()->setSectionsClickable(true);
|
||||
#else
|
||||
tableVolumes->horizontalHeader()->setClickable(true);
|
||||
#endif
|
||||
//tableVolumes->horizontalHeader()->setSortIndicatorShown(false);
|
||||
connect(tableVolumes->horizontalHeader(),SIGNAL(sectionClicked(int)), tableVolumes, SLOT(sortByColumn(int)));
|
||||
//connections
|
||||
|
||||
Reference in New Issue
Block a user