mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -04:00
Use nullptr instead of 0
This commit is contained in:
@ -9,7 +9,7 @@ class YACReaderReadingListsView : public YACReaderTreeView
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit YACReaderReadingListsView(QWidget *parent = 0);
|
||||
explicit YACReaderReadingListsView(QWidget *parent = nullptr);
|
||||
|
||||
protected:
|
||||
//Drop to import & internal Drag&Drop for resorting
|
||||
@ -22,7 +22,7 @@ class YACReaderReadingListsViewItemDeletegate : public QStyledItemDelegate
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit YACReaderReadingListsViewItemDeletegate(QObject *parent = 0);
|
||||
explicit YACReaderReadingListsViewItemDeletegate(QObject *parent = nullptr);
|
||||
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const;
|
||||
QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const;
|
||||
};
|
||||
|
Reference in New Issue
Block a user