Skip to content

Commit

Permalink
Removed unnecessary warning; changed min compatible Optimus version
Browse files Browse the repository at this point in the history
  • Loading branch information
iprotsyuk committed Apr 6, 2017
1 parent 420a0f5 commit 403f9c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
4 changes: 2 additions & 2 deletions ov.pri
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ macx {
CONFIG += c++11
}

MIN_COMPATIBLE_OPTIMUS_VERSION=\\\"'1.1.0'\\\"
MIN_COMPATIBLE_OPTIMUS_VERSION=\\\"'1.0.0'\\\"
DEFINES += MIN_COMPATIBLE_OPTIMUS_VERSION=$${MIN_COMPATIBLE_OPTIMUS_VERSION}
CURRENT_OPTIMUS_VERSION=\\\"'1.1.0'\\\"
CURRENT_OPTIMUS_VERSION=\\\"'1.2.0'\\\"
DEFINES += CURRENT_OPTIMUS_VERSION=$${CURRENT_OPTIMUS_VERSION}
6 changes: 0 additions & 6 deletions src/FeatureDataSource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -378,12 +378,6 @@ bool FeatureDataSource::isDataSourceVersionSupported()
return false;
}

if (dataSourceCurOptimusVersion > curSupportedVersion) {
QMessageBox::warning(QApplication::activeWindow(), tr("Warning"),
tr("This Optimus database was created by Optimus version %1 "
"which is newer than expected by the current version of OptimusViewer. "
"Some features might be not available.").arg(curOptimusVersionStr));
}
return true;
}

Expand Down

0 comments on commit 403f9c8

Please sign in to comment.