]> sigrok.org Git - pulseview.git/commit
MainWindow: Use regular pointer for QDockWidgets
authorSoeren Apel <redacted>
Tue, 4 Oct 2016 17:32:58 +0000 (19:32 +0200)
committerSoeren Apel <redacted>
Sun, 4 Dec 2016 13:37:36 +0000 (14:37 +0100)
commitcbf7b5db5c3c04b95daf77bc0e6dc112c15e0195
tree349c42dc8c341b1af16605b8ff83a37e60150f62
parent3b84fd0b5f02dedfb6f7160477a63467b613c502
MainWindow: Use regular pointer for QDockWidgets

Using shared_ptrs conflicts with the Qt memory management,
so we can't use them if we don't have control over when
those objects are deleted by Qt. In this case, we need to
handle the dock widgets properly.
pv/mainwindow.cpp
pv/mainwindow.hpp