projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Manual: Add PD troubleshooting section
[pulseview.git]
/
pv
/
dialogs
/
settings.cpp
diff --git
a/pv/dialogs/settings.cpp
b/pv/dialogs/settings.cpp
index 0795879675054403477a3744ebec6079c7a34246..491bbfc2b6c13e88c67d0dad6efc73f636b4bcfd 100644
(file)
--- a/
pv/dialogs/settings.cpp
+++ b/
pv/dialogs/settings.cpp
@@
-54,7
+54,6
@@
#include <libsigrokdecode/libsigrokdecode.h>
#endif
#include <libsigrokdecode/libsigrokdecode.h>
#endif
-using std::shared_ptr;
using pv::widgets::ColorButton;
namespace pv {
using pv::widgets::ColorButton;
namespace pv {
@@
-216,7
+215,7
@@
QWidget *Settings::get_general_settings_form(QWidget *parent) const
general_group->setLayout(general_layout);
QComboBox *theme_cb = new QComboBox();
general_group->setLayout(general_layout);
QComboBox *theme_cb = new QComboBox();
- for (
pair<QString, QString>
entry : Themes)
+ for (
const pair<QString, QString>&
entry : Themes)
theme_cb->addItem(entry.first, entry.second);
theme_cb->setCurrentIndex(
theme_cb->addItem(entry.first, entry.second);
theme_cb->setCurrentIndex(