Better compatible with qt4.
* Q_PROPERTY MEMBER wasn't available, use READ and WRITE instead * Disables namespace with qt4 * Updates default stylesheet to work with qt4 (no namespaces) Unifies include/forward-declaration style in header files. README status updates
This commit is contained in:
@@ -431,6 +431,7 @@ SectionWidget* ContainerWidget::dropContentOuterHelper(QLayout* l, const Interna
|
||||
#else
|
||||
int index = l->indexOf(oldsp);
|
||||
QLayoutItem* li = l->takeAt(index);
|
||||
l->addWidget(sp);
|
||||
sp->addWidget(oldsp);
|
||||
sp->addWidget(sw);
|
||||
delete li;
|
||||
@@ -447,6 +448,7 @@ SectionWidget* ContainerWidget::dropContentOuterHelper(QLayout* l, const Interna
|
||||
sp->addWidget(sw);
|
||||
int index = l->indexOf(oldsp);
|
||||
QLayoutItem* li = l->takeAt(index);
|
||||
l->addWidget(sp);
|
||||
sp->addWidget(oldsp);
|
||||
delete li;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user