Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifdef QT_EXPERIMENTAL_CLIENT_DECORATIONS
- QGridLayout *topLayout = new QGridLayout(q);
- topLayout->setContentsMargins(0, 0, 0, 0);
- layout = new QMainWindowLayout(q, topLayout);
- topLayout->addItem(layout, 1, 1);
- #else
- layout = new QMainWindowLayout(q, 0);
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement