Change 0 to nullptr
This commit is contained in:
parent
de0e3a7bc9
commit
740f9581e6
@ -28,7 +28,7 @@
|
||||
|
||||
class PoTranslator : public QTranslator {
|
||||
public:
|
||||
QString translate(const char *context, const char *source_text, const char *disambiguation = 0, int n = -1) const override {
|
||||
QString translate(const char *context, const char *source_text, const char *disambiguation = nullptr, int n = -1) const override {
|
||||
Q_UNUSED(n);
|
||||
QString ret = QTranslator::translate(context, source_text, disambiguation);
|
||||
if (!ret.isEmpty()) return ret;
|
||||
|
@ -88,7 +88,7 @@ class AlbumCoverFetcher : public QObject {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit AlbumCoverFetcher(CoverProviders *cover_providers, QObject *parent = nullptr, QNetworkAccessManager *network = 0);
|
||||
explicit AlbumCoverFetcher(CoverProviders *cover_providers, QObject *parent = nullptr, QNetworkAccessManager *network = nullptr);
|
||||
~AlbumCoverFetcher() override;
|
||||
|
||||
static const int kMaxConcurrentRequests;
|
||||
|
@ -17,7 +17,7 @@ class AfcFile : public QIODevice {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit AfcFile(iMobileDeviceConnection* connection, const QString &path, QObject *parent = 0);
|
||||
explicit AfcFile(iMobileDeviceConnection* connection, const QString &path, QObject *parent = nullptr);
|
||||
~AfcFile();
|
||||
|
||||
// QIODevice
|
||||
|
@ -39,7 +39,7 @@ class PlaylistSaveOptionsDialog : public QDialog {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit PlaylistSaveOptionsDialog(QWidget *parent = 0);
|
||||
explicit PlaylistSaveOptionsDialog(QWidget *parent = nullptr);
|
||||
~PlaylistSaveOptionsDialog() override;
|
||||
|
||||
void accept() override;
|
||||
|
@ -68,7 +68,7 @@ public:
|
||||
class TestQObject : public QObject {
|
||||
Q_OBJECT
|
||||
public:
|
||||
TestQObject(QObject* parent = 0);
|
||||
TestQObject(QObject* parent = nullptr);
|
||||
|
||||
void Emit();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user