resolved a conflict

preferencesAboutTextFull
shibakaneki 13 years ago
parent 9a80913b35
commit 432af59ca3
  1. 4
      src/customWidgets/UBWidgetList.h
  2. 2
      src/gui/UBTeacherBarWidget.cpp

@ -31,7 +31,7 @@ class UBWidgetList : public QScrollArea
public:
UBWidgetList(QWidget* parent=0, eWidgetListOrientation orientation = eWidgetListOrientation_Vertical, const char* name = "UBWidgetList");
~UBWidgetList();
void addWidget(QWidget* widget, bool isResizable = true);
void addWidget(QWidget* widget);
void removeWidget(QWidget* widget);
void setMargin(int margin);
void setEmptyText(const QString& text);
@ -53,7 +53,7 @@ private:
eWidgetListOrientation mOrientation;
int mMargin;
int mListElementsSpacing;
QMap<QWidget*, sWidgetProperties> mWidgetInfo;
QMap<QWidget*, QSize> mWidgetInfo;
QLabel* mpEmptyLabel;
};

@ -1031,7 +1031,7 @@ void UBTeacherBarPreviewMedia::cleanMedia()
void UBTeacherBarPreviewMedia::loadWidgets(QList<QWidget*> pWidgetsList, bool isResizable)
{
foreach(QWidget*eachWidget, pWidgetsList){
mWidget->addWidget(eachWidget,isResizable);
mWidget->addWidget(eachWidget);
mWidgetList[eachWidget]="DRAG UNAVAILABLE";
}
}

Loading…
Cancel
Save