fixed syntax error

preferencesAboutTextFull
Claudio Valerio 13 years ago
parent a94f7f63de
commit 3c905ba233
  1. 3
      src/customWidgets/UBWidgetList.cpp

@ -53,7 +53,8 @@ void UBWidgetList::addWidget(QWidget *widget, bool isResizable)
{ {
if(NULL != mpLayout){ if(NULL != mpLayout){
mpEmptyLabel->setVisible(false); mpEmptyLabel->setVisible(false);
mWidgetInfo[widget] = {widget->size(), isResizable}; sWidgetProperties properties = {widget->size(), isResizable};
mWidgetInfo[widget] = properties;
qDebug() << __FUNCTION__ << "widget : " << widget << " widget->size () " << widget->size() << " isResizable " << isResizable; qDebug() << __FUNCTION__ << "widget : " << widget << " widget->size () " << widget->size() << " isResizable " << isResizable;
updateView(size()); updateView(size());
mpLayout->addWidget(widget); mpLayout->addWidget(widget);

Loading…
Cancel
Save