Commit 8466b69d authored by Jan Möbius's avatar Jan Möbius

Get rid of extra messagebox about license file

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@10826 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 22a6010a
......@@ -354,9 +354,7 @@ bool LicenseManager::authenticate() {
QString licenseFileName = OpenFlipper::Options::licenseDirStr() + QDir::separator() + pluginFileName() + ".lic";
QFile file( licenseFileName );
if (!file.open(QIODevice::ReadOnly|QIODevice::Text)) {
QMessageBox::critical(0,tr("Unable to find license File"),licenseFileName );
} else {
if (file.open(QIODevice::ReadOnly|QIODevice::Text)) {
QString licenseContents = file.readAll();
QStringList elements = licenseContents.split('\n',QString::SkipEmptyParts);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment