biomolecules / sprelay

Program for controlling K8090 relay card.
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

QLayout constructor sets itself onto parent #61

Closed lumik closed 6 years ago

lumik commented 6 years ago

When the parents were set to layouts in CentralWidget, they all try to set itself as a main layout of the central widget. Change them to use std::unique_ptr and its release method to preserve C++ exception correctness.