Commit 470dfeba authored by Sébastien Blin's avatar Sébastien Blin

mediasettings: show framerates like integers

Change-Id: I735e501ac3a2c95aa003d159c3d0d5aec78d352d
parent d1e19e24
......@@ -194,7 +194,7 @@ CppImpl::drawFramerates()
auto i = 0;
gtk_combo_box_text_remove_all(GTK_COMBO_BOX_TEXT(widgets->combobox_framerate));
for (const auto& rate : rates) {
auto rateStr = std::to_string(rate);
auto rateStr = std::to_string(static_cast<uint8_t>(rate));
if (rateStr == currentRate) {
active = i;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment