mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-09-07 06:20:44 +02:00
hiro/qt: QLayout::setMargin -> QLayout::setContentsMargins
setMargin has been obsolete since Qt 4.3!
This commit is contained in:
committed by
Screwtapello
parent
fb09f52093
commit
a6db3d6013
2
hiro/qt/widget/hex-edit.cpp
Executable file → Normal file
2
hiro/qt/widget/hex-edit.cpp
Executable file → Normal file
@@ -11,7 +11,7 @@ auto pHexEdit::construct() -> void {
|
||||
|
||||
qtLayout = new QHBoxLayout;
|
||||
qtLayout->setAlignment(Qt::AlignRight);
|
||||
qtLayout->setMargin(0);
|
||||
qtLayout->setContentsMargins(0, 0, 0, 0);
|
||||
qtLayout->setSpacing(0);
|
||||
qtHexEdit->setLayout(qtLayout);
|
||||
|
||||
|
2
hiro/qt/window.cpp
Executable file → Normal file
2
hiro/qt/window.cpp
Executable file → Normal file
@@ -18,7 +18,7 @@ auto pWindow::construct() -> void {
|
||||
}
|
||||
|
||||
qtLayout = new QVBoxLayout(qtWindow);
|
||||
qtLayout->setMargin(0);
|
||||
qtLayout->setContentsMargins(0, 0, 0, 0);
|
||||
qtLayout->setSpacing(0);
|
||||
qtWindow->setLayout(qtLayout);
|
||||
|
||||
|
Reference in New Issue
Block a user