From ba00198351b666349501c358e714dbd5624a2840 Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 29 Sep 2018 18:22:04 +0200 Subject: Fix 0 as nullptr and remove commented out code --- shemov.cpp | 2 +- shemov.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/shemov.cpp b/shemov.cpp index 67d1f98..cce13bb 100644 --- a/shemov.cpp +++ b/shemov.cpp @@ -38,7 +38,7 @@ #include "moviewidget.h" #include "helper.h" -SheMov::SheMov(QWidget *parent, Qt::WindowFlags flags) : QMainWindow(parent, flags) /*, mOpenWithGroupFS(0), mOpenWithGroupAV(0) */ { +SheMov::SheMov(QWidget *parent, Qt::WindowFlags flags) : QMainWindow(parent, flags) { //application icon qApp->setWindowIcon(QIcon(":/shemov.png")); createPalette(); diff --git a/shemov.h b/shemov.h index 13ec741..60a1536 100644 --- a/shemov.h +++ b/shemov.h @@ -29,7 +29,7 @@ class MovieWidget; class SheMov : public QMainWindow { Q_OBJECT public: - SheMov(QWidget *parent = 0, Qt::WindowFlags flags = 0); + SheMov(QWidget *parent = nullptr, Qt::WindowFlags flags = nullptr); enum TabNum { FileManager = 0, Movies = 1, Pictures = 2, ArchiveBrowserTab = 3, RandomDisp = 4 }; virtual ~SheMov() {} -- cgit v1.2.3-70-g09d2