projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Random simplifications, cosmetics/whitespace/consistency fixes.
[pulseview.git]
/
pv
/
mainwindow.cpp
diff --git
a/pv/mainwindow.cpp
b/pv/mainwindow.cpp
index dd8be229e97acc9b29065124d6431b103c145b84..7e48e5a9f96a21f7c64cd9fe5a6d049d826ad70f 100644
(file)
--- a/
pv/mainwindow.cpp
+++ b/
pv/mainwindow.cpp
@@
-134,10
+134,10
@@
shared_ptr<views::ViewBase> MainWindow::get_active_view() const
QDockWidget *dock = nullptr;
while (w) {
QDockWidget *dock = nullptr;
while (w) {
- dock = qobject_cast<QDockWidget*>(w);
- if (dock)
- break;
- w = w->parent();
+
dock = qobject_cast<QDockWidget*>(w);
+
if (dock)
+
break;
+
w = w->parent();
}
// Get the view contained in the dock widget
}
// Get the view contained in the dock widget