Changeset 7516f6 for src/UIElements/Views/Qt4/QtTimeLine.cpp
- Timestamp:
- Jul 12, 2017, 7:11:51 PM (8 years ago)
- Branches:
- Action_Thermostats, Adding_MD_integration_tests, Adding_StructOpt_integration_tests, AutomationFragmentation_failures, Candidate_v1.6.1, Candidate_v1.7.0, Candidate_v1.7.1, ChemicalSpaceEvaluator, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Exclude_Hydrogens_annealWithBondGraph, Fix_Verbose_Codepatterns, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, Gui_displays_atomic_force_velocity, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, PythonUI_with_named_parameters, Recreated_GuiChecks, StoppableMakroAction, TremoloParser_IncreasedPrecision, stable
- Children:
- 4c6f0d
- Parents:
- b10593
- git-author:
- Frederik Heber <frederik.heber@…> (07/12/17 12:20:23)
- git-committer:
- Frederik Heber <frederik.heber@…> (07/12/17 19:11:51)
- File:
-
- 1 edited
-
src/UIElements/Views/Qt4/QtTimeLine.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/UIElements/Views/Qt4/QtTimeLine.cpp
rb10593 r7516f6 82 82 } 83 83 84 void QtTimeLine::paintEvent(QPaintEvent * event) 85 { 86 boost::recursive_mutex::scoped_lock lock(refill_mutex); 87 88 QSlider::paintEvent(event); 89 } 90 84 91 void QtTimeLine::subjectKilled(Observable *publisher) 85 92 { … … 101 108 void QtTimeLine::recieveNotification(Observable *publisher, Notification_ptr notification) 102 109 { 110 boost::recursive_mutex::scoped_lock lock(refill_mutex); 111 103 112 if (static_cast<WorldTime *>(publisher) == WorldTime::getPointer()) { 104 113 const int timestep = WorldTime::getTime(); … … 122 131 void QtTimeLine::StepUpdate(int position) 123 132 { 133 boost::recursive_mutex::scoped_lock lock(refill_mutex); 134 124 135 if (WorldTime_change) 125 136 WorldTime_change = false;
Note:
See TracChangeset
for help on using the changeset viewer.
