mirror of
https://github.com/YACReader/yacreader
synced 2025-07-17 20:44:32 -04:00
Use nullptr instead of 0
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
#include <QCoreApplication>
|
||||
|
||||
PackageManager::PackageManager()
|
||||
: _7z(0)
|
||||
: _7z(nullptr)
|
||||
{
|
||||
}
|
||||
|
||||
@ -41,7 +41,7 @@ void PackageManager::extractPackage(const QString &packagePath, const QString &d
|
||||
|
||||
void PackageManager::cancel()
|
||||
{
|
||||
if (_7z != 0) {
|
||||
if (_7z != nullptr) {
|
||||
_7z->disconnect();
|
||||
_7z->kill();
|
||||
if (creating) {
|
||||
|
Reference in New Issue
Block a user