fixed qt4 compilation

added remove/reset comics to SortVolumeComics
This commit is contained in:
Luis Ángel San Martín
2013-11-18 18:47:45 +01:00
parent e64e5d2d2a
commit 4006bf6e43
5 changed files with 91 additions and 1 deletions

View File

@ -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