mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-31 04:38:04 -06:00
Coding style, use nullptr and other minor things
This commit is contained in:
committed by
sledgehammer999
parent
8482464ad0
commit
07130c4b26
@@ -65,7 +65,7 @@ void PortForwarder::freeInstance()
|
||||
{
|
||||
if (m_instance) {
|
||||
delete m_instance;
|
||||
m_instance = 0;
|
||||
m_instance = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -143,4 +143,4 @@ void PortForwarder::stop()
|
||||
Logger::instance()->addMessage(tr("UPnP / NAT-PMP support [OFF]"), Log::INFO);
|
||||
}
|
||||
|
||||
PortForwarder *PortForwarder::m_instance = 0;
|
||||
PortForwarder *PortForwarder::m_instance = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user