diff options
author | Simon Rettberg | 2018-07-26 17:25:11 +0200 |
---|---|---|
committer | Simon Rettberg | 2018-07-26 17:25:11 +0200 |
commit | 2f9f1eab772ff77d65845a07c6f9c1585a35b997 (patch) | |
tree | 42e8621af2d244f38e0392f08b2bdf74b937e43d /src | |
parent | Reorder struct members for better packing (diff) | |
download | vmchooser2-2f9f1eab772ff77d65845a07c6f9c1585a35b997.tar.gz vmchooser2-2f9f1eab772ff77d65845a07c6f9c1585a35b997.tar.xz vmchooser2-2f9f1eab772ff77d65845a07c6f9c1585a35b997.zip |
0 -> nullptr
Diffstat (limited to 'src')
-rw-r--r-- | src/dialog.h | 2 | ||||
-rw-r--r-- | src/filedownloader.h | 2 | ||||
-rw-r--r-- | src/vmtree.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/dialog.h b/src/dialog.h index c0e2b43..ccdccd2 100644 --- a/src/dialog.h +++ b/src/dialog.h @@ -30,7 +30,7 @@ class Dialog : public QDialog { static const int TAB_ALL_VMS = 2; static const int TAB_COUNT = 3; public: // Public methods - explicit Dialog(int defaultTab = -1, bool examMode = false, QWidget *parent = 0); + explicit Dialog(int defaultTab = -1, bool examMode = false, QWidget *parent = nullptr); ~Dialog(); void addItems(const QList<Session*>&, int tab); void addStatusString(const int status); diff --git a/src/filedownloader.h b/src/filedownloader.h index 2de29ad..ec49c23 100644 --- a/src/filedownloader.h +++ b/src/filedownloader.h @@ -20,7 +20,7 @@ class FileDownloader : public QObject public: - explicit FileDownloader(const QUrl& fileUrl, QObject *parent = 0); + explicit FileDownloader(const QUrl& fileUrl, QObject *parent = nullptr); virtual ~FileDownloader(); diff --git a/src/vmtree.h b/src/vmtree.h index a80248d..f6b2912 100644 --- a/src/vmtree.h +++ b/src/vmtree.h @@ -9,7 +9,7 @@ class VmTree : public QTreeView { Q_OBJECT public: - VmTree(QWidget* parent = 0) : QTreeView(parent) {}; + VmTree(QWidget* parent = nullptr) : QTreeView(parent) {}; void cursorDown(); void cursorUp(); |