diff options
Diffstat (limited to 'src/utilities')
-rw-r--r-- | src/utilities/fqterm_ip_location.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utilities/fqterm_ip_location.cpp b/src/utilities/fqterm_ip_location.cpp index ea5946d..e9777a7 100644 --- a/src/utilities/fqterm_ip_location.cpp +++ b/src/utilities/fqterm_ip_location.cpp @@ -245,10 +245,10 @@ bool FQTermIPLocation::getLocation(QString &url, QByteArray &country, FQTermIPLocation* FQTermIPLocation::getInstance() { if (instance_ == NULL) { instance_ = new FQTermIPLocation(getPath(USER_CONFIG)); - if (instance_->isFileExiting_ == NULL) { + if (instance_->isFileExiting_ == false) { delete instance_; instance_ = new FQTermIPLocation(getPath(RESOURCE)); - if (instance_->isFileExiting_ == NULL) { + if (instance_->isFileExiting_ == false) { delete instance_; instance_ = NULL; } |