projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33e1afb
)
MainWindow: Don't return bogus view
author
Soeren Apel
<soeren@apelpie.net>
Sat, 3 Sep 2016 22:17:32 +0000
(
00:17
+0200)
committer
Soeren Apel
<soeren@apelpie.net>
Sat, 3 Sep 2016 22:17:32 +0000
(
00:17
+0200)
pv/mainwindow.cpp
patch
|
blob
|
history
diff --git
a/pv/mainwindow.cpp
b/pv/mainwindow.cpp
index 787e1acf96dfc9bc7a0e372001f5118e68025a85..92c92d023225a7d5fa7cb5f54764d4e1218b2a12 100644
(file)
--- a/
pv/mainwindow.cpp
+++ b/
pv/mainwindow.cpp
@@
-163,7
+163,7
@@
shared_ptr<pv::view::View> MainWindow::get_active_view() const
if (entry.first.get() == dock)
return entry.second;
- return
shared_ptr<pv::view::View>()
;
+ return
nullptr
;
}
shared_ptr<pv::view::View> MainWindow::add_view(const QString &title,