Advertisement
Guest User

Untitled

a guest
Aug 2nd, 2011
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. #ifdef QT_EXPERIMENTAL_CLIENT_DECORATIONS
  2. QGridLayout *topLayout = new QGridLayout(q);
  3. topLayout->setContentsMargins(0, 0, 0, 0);
  4.  
  5. layout = new QMainWindowLayout(q, topLayout);
  6.  
  7. topLayout->addItem(layout, 1, 1);
  8. #else
  9. layout = new QMainWindowLayout(q, 0);
  10. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement