projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Whitespace cosmetics.
[pulseview.git]
/
pv
/
mainwindow.cpp
diff --git
a/pv/mainwindow.cpp
b/pv/mainwindow.cpp
index 46f8a123ae8907b7d3793dd0b47eac9d3ba3bf1f..7e48e5a9f96a21f7c64cd9fe5a6d049d826ad70f 100644
(file)
--- a/
pv/mainwindow.cpp
+++ b/
pv/mainwindow.cpp
@@
-52,7
+52,6
@@
using std::bind;
using std::dynamic_pointer_cast;
using std::bind;
using std::dynamic_pointer_cast;
-using std::list;
using std::make_shared;
using std::map;
using std::placeholders::_1;
using std::make_shared;
using std::map;
using std::placeholders::_1;
@@
-135,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