Changeset 7516f6 for src/UIElements/Views/Qt4/QtGeometryList.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/QtGeometryList.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/UIElements/Views/Qt4/QtGeometryList.cpp
rb10593 r7516f6 109 109 void QtGeometryList::refill(::GeometryObject *ignore) 110 110 { 111 boost::recursive_mutex::scoped_lock lock(refill_mutex); 112 111 113 clear(); 112 114 … … 125 127 } 126 128 127 #if 0128 129 void QtGeometryList::paintEvent(QPaintEvent * event) 129 130 { 131 boost::recursive_mutex::scoped_lock lock(refill_mutex); 130 132 /*if (dirty) 131 133 refill(NULL);*/ 132 Q tGeometryList::paintEvent(event);134 QTreeWidget::paintEvent(event); 133 135 } 134 #endif135 136 136 137 void QtGeometryList::subjectKilled(Observable *publisher) { … … 151 152 void QtGeometryList::mouseMoveFunction(QMouseEvent * event) 152 153 { 154 boost::recursive_mutex::scoped_lock lock(refill_mutex); 155 153 156 if (event->type() == QEvent::MouseMove) { 154 157 QTreeWidgetItem* current = itemAt(event->pos());
Note:
See TracChangeset
for help on using the changeset viewer.
