Skip to content

Commit

Permalink
Fix a Qt error setting layout into buffer format specifier
Browse files Browse the repository at this point in the history
  • Loading branch information
baldurk committed May 27, 2022
1 parent ba5f806 commit 70676a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qrenderdoc/Widgets/BufferFormatSpecifier.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ BufferFormatSpecifier::BufferFormatSpecifier(QWidget *parent)
formatText->annotationClearAll();
});

QHBoxLayout *hbox = new QHBoxLayout(this);
QHBoxLayout *hbox = new QHBoxLayout();
hbox->setSpacing(0);
hbox->setContentsMargins(2, 2, 2, 2);

Expand Down

0 comments on commit 70676a5

Please sign in to comment.