Browse Source

Merge pull request #13158 from jagannatharjun/scanfolder

Use QStyledItemDelegate as base for ScanFoldersDelegate
adaptive-webui-19844
Mike Tzou 5 years ago committed by GitHub
parent
commit
9cf2321f02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/gui/scanfoldersdelegate.cpp
  2. 4
      src/gui/scanfoldersdelegate.h

2
src/gui/scanfoldersdelegate.cpp

@ -37,7 +37,7 @@ @@ -37,7 +37,7 @@
#include "base/scanfoldersmodel.h"
ScanFoldersDelegate::ScanFoldersDelegate(QObject *parent, QTreeView *foldersView)
: QItemDelegate(parent)
: QStyledItemDelegate(parent)
, m_folderView(foldersView)
{
}

4
src/gui/scanfoldersdelegate.h

@ -29,7 +29,7 @@ @@ -29,7 +29,7 @@
#ifndef SCANFOLDERSDELEGATE_H
#define SCANFOLDERSDELEGATE_H
#include <QItemDelegate>
#include <QStyledItemDelegate>
class QAbstractItemModel;
class QModelIndex;
@ -39,7 +39,7 @@ class QTreeView; @@ -39,7 +39,7 @@ class QTreeView;
class PropertiesWidget;
class ScanFoldersDelegate final : public QItemDelegate
class ScanFoldersDelegate final : public QStyledItemDelegate
{
Q_OBJECT

Loading…
Cancel
Save