diff options
Diffstat (limited to 'src/activeqt/control/qaxfactory.cpp')
-rw-r--r-- | src/activeqt/control/qaxfactory.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/activeqt/control/qaxfactory.cpp b/src/activeqt/control/qaxfactory.cpp index 1a999aa..2a0ed4f 100644 --- a/src/activeqt/control/qaxfactory.cpp +++ b/src/activeqt/control/qaxfactory.cpp @@ -288,9 +288,7 @@ bool QAxFactory::validateLicenseKey(const QString &key, const QString &licenseKe int lastDot = licFile.lastIndexOf(QLatin1Char('.')); licFile.truncate(lastDot); licFile += QLatin1String(".lic"); - if (QFile::exists(licFile)) - return true; - return false; + return QFile::exists(licFile); } return licenseKey == classKey; } @@ -369,8 +367,6 @@ bool QAxFactory::isServer() return qAxIsServer; } -extern wchar_t qAxModuleFilename[MAX_PATH]; - /*! Returns the directory that contains the server binary. |