projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cursorpair.cpp: Fix a clazy warning (-Wclazy-qstring-arg).
[pulseview.git]
/
pv
/
views
/
trace
/
view.cpp
diff --git
a/pv/views/trace/view.cpp
b/pv/views/trace/view.cpp
index 8922922aa1c1e939f747b15327545acc84c6379e..861eac0f6065e7f4ef93c7e14039173dd9ad0235 100644
(file)
--- a/
pv/views/trace/view.cpp
+++ b/
pv/views/trace/view.cpp
@@
-196,7
+196,7
@@
View::View(Session &session, bool is_main_view, QWidget *parent) :
// Set up settings and event handlers
GlobalSettings settings;
// Set up settings and event handlers
GlobalSettings settings;
- colo
ured_bg_ = settings.value(GlobalSettings::Key_View_Colou
redBG).toBool();
+ colo
red_bg_ = settings.value(GlobalSettings::Key_View_Colo
redBG).toBool();
GlobalSettings::add_change_handler(this);
GlobalSettings::add_change_handler(this);
@@
-774,15
+774,15
@@
void View::enable_show_analog_minor_grid(bool state)
viewport_->update();
}
viewport_->update();
}
-void View::enable_colo
u
red_bg(bool state)
+void View::enable_colored_bg(bool state)
{
{
- colo
u
red_bg_ = state;
+ colored_bg_ = state;
viewport_->update();
}
viewport_->update();
}
-bool View::colo
u
red_bg() const
+bool View::colored_bg() const
{
{
- return colo
u
red_bg_;
+ return colored_bg_;
}
bool View::cursors_shown() const
}
bool View::cursors_shown() const