Silence a few warnings.
This commit is contained in:
parent
28702cbfeb
commit
5ebf35db96
3 changed files with 5 additions and 5 deletions
|
@ -170,8 +170,8 @@ void GraphicsFramebufferWidget::OnFramebufferWidthChanged(int new_value)
|
|||
|
||||
void GraphicsFramebufferWidget::OnFramebufferHeightChanged(int new_value)
|
||||
{
|
||||
if (framebuffer_height != new_value) {
|
||||
framebuffer_height = new_value;
|
||||
if (framebuffer_height != static_cast<unsigned>(new_value)) {
|
||||
framebuffer_height = static_cast<unsigned>(new_value);
|
||||
|
||||
framebuffer_source_list->setCurrentIndex(static_cast<int>(Source::Custom));
|
||||
emit Update();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue