Use nullptr instead of 0
This commit is contained in:
parent
382ace9c69
commit
6c1b81a384
2 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ class KDECONNECTCORE_EXPORT Server : public QTcpServer
|
|||
Q_OBJECT
|
||||
|
||||
public:
|
||||
Server(QObject *parent = 0);
|
||||
Server(QObject *parent = nullptr);
|
||||
~Server() override = default;
|
||||
|
||||
QSslSocket *nextPendingConnection() override;
|
||||
|
|
|
@ -149,7 +149,7 @@ void KdeConnectKcm::resetSelection()
|
|||
void KdeConnectKcm::deviceSelected(const QModelIndex ¤t)
|
||||
{
|
||||
if (currentDevice) {
|
||||
disconnect(currentDevice, 0, this, 0);
|
||||
disconnect(currentDevice, nullptr, this, nullptr);
|
||||
}
|
||||
|
||||
if (!current.isValid()) {
|
||||
|
|
Loading…
Reference in a new issue