Changeset c8a442


Ignore:
Timestamp:
Oct 23, 2022, 10:33:57 PM (3 years ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
Candidate_v1.7.0, stable
Children:
745290
Parents:
67afa3
Message:

FIX: posix:time needs to use milliseconds.

  • floating-point seconds are not allowed.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/UIElements/Qt4/QtUIFactory.cpp

    r67afa3 rc8a442  
    144144  std::cout << "TESTLAUNCHER: Waiting for GUI to set up" << std::endl;
    145145  while (!UIFactory::isDoneInitializing())
    146     testlauncher_sleep(boost::posix_time::seconds(.1));
     146    testlauncher_sleep(boost::posix_time::milliseconds(100));
    147147
    148148  std::vector<std::string>::const_iterator scriptiter = _scripts.begin();
     
    166166        do {
    167167          app->processEvents();
    168           testlauncher_sleep(boost::posix_time::seconds(.1));
     168          testlauncher_sleep(boost::posix_time::milliseconds(100));
    169169        } while (!MoleCuilder::ActionQueue::getInstance().isIdle());
    170170        // check whether last action did not fail (otherwise we would reset
     
    184184
    185185    std::cout << "TESTLAUNCHER: Sleeping after script" << std::endl;
    186     testlauncher_sleep(boost::posix_time::seconds(.2));
     186    testlauncher_sleep(boost::posix_time::milliseconds(200));
    187187
    188188  } while ((scriptiter != _scripts.end()) && (!testlauncher_Interrupted));
Note: See TracChangeset for help on using the changeset viewer.