Commit 7cb5756d authored by Ian Humphrey's avatar Ian Humphrey
Browse files

Fixed smtk app test failing as a result from migrating from Qt4 to Qt5. See...

Fixed smtk app test failing as a result from migrating from Qt4 to Qt5. See ticket for more details. Fixes #4058.

git-svn-id: http://subversion.wr.usgs.gov/repos/prog/isis3/branches/ipce@7167 41f8697f-d340-4b68-9986-7bafba869bb8
parent e016156a
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -94,6 +94,11 @@ void WriteCnet(const QString &netfile, SmtkQStack &points,

/** The ISIS smtk main application */
void IsisMain() {
  // 2016-10-14 Ian Humphrey -
  // Set the QHash seed, otherwise output is ALWAYS slightly different.
  // Note that in Qt4, the seed was constant, but in Qt5, the seed is created differently for each
  // process. Fixes #4058.
  qSetGlobalQHashSeed(1031);
  UserInterface &ui = Application::GetUserInterface();

  // Open the first cube.  It is the left hand image.