mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-02 18:04:32 +00:00
Use QStyledItemDelegate as base for ScanFoldersDelegate
This commit is contained in:
parent
8eecfb1bee
commit
8dd92fe612
@ -37,7 +37,7 @@
|
||||
#include "base/scanfoldersmodel.h"
|
||||
|
||||
ScanFoldersDelegate::ScanFoldersDelegate(QObject *parent, QTreeView *foldersView)
|
||||
: QItemDelegate(parent)
|
||||
: QStyledItemDelegate(parent)
|
||||
, m_folderView(foldersView)
|
||||
{
|
||||
}
|
||||
|
@ -29,7 +29,7 @@
|
||||
#ifndef SCANFOLDERSDELEGATE_H
|
||||
#define SCANFOLDERSDELEGATE_H
|
||||
|
||||
#include <QItemDelegate>
|
||||
#include <QStyledItemDelegate>
|
||||
|
||||
class QAbstractItemModel;
|
||||
class QModelIndex;
|
||||
@ -39,7 +39,7 @@ class QTreeView;
|
||||
|
||||
class PropertiesWidget;
|
||||
|
||||
class ScanFoldersDelegate final : public QItemDelegate
|
||||
class ScanFoldersDelegate final : public QStyledItemDelegate
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user