diff options
author | Arno <arno@disconnect.de> | 2018-09-29 16:47:41 +0200 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2018-09-29 16:47:41 +0200 |
commit | c0d4cdd495571397f733525e88b8d268a360f522 (patch) | |
tree | 6c3b5f90f8afe30a7b96c68a65a1419c0783dac5 /randomtab.h | |
parent | a0ed9140682a7960506a8ae2272bafc8c1303cea (diff) | |
download | SheMov-c0d4cdd495571397f733525e88b8d268a360f522.tar.gz SheMov-c0d4cdd495571397f733525e88b8d268a360f522.tar.bz2 SheMov-c0d4cdd495571397f733525e88b8d268a360f522.zip |
Fix 0 -> nullptr in RandomTab
Diffstat (limited to 'randomtab.h')
-rw-r--r-- | randomtab.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/randomtab.h b/randomtab.h index 445210d..790a4e6 100644 --- a/randomtab.h +++ b/randomtab.h @@ -31,7 +31,7 @@ class RandomTab : public QWidget { enum CustomRoles { IdRole = Qt::UserRole + 1, SizeRole = Qt::UserRole + 2, DurationRole = Qt::UserRole + 3, DvdNoRole = Qt::UserRole + 4 }; enum Columns { FileName = 0, Size = 1, Duration = 2, Md5 = 3, Location = 4, FullPath = 5 }; enum { ColumnCount = 6 }; - explicit RandomTab(QWidget *parent = 0); + explicit RandomTab(QWidget *parent = nullptr); virtual ~RandomTab(); const QMenu *contextMenu() const { return mContextMenu; } QMenu *editMenu() { return mEditMenu; } @@ -91,7 +91,7 @@ class RandomTab : public QWidget { class RandomFileView : public QTreeView { Q_OBJECT public: - explicit RandomFileView(QWidget *parent = 0); + explicit RandomFileView(QWidget *parent = nullptr ); void setContextMenu(QMenu *menu) { mCtxMenu = menu; } protected: |