Commit 812c3caf authored by Anna Udovichenko's avatar Anna Udovichenko

fixed not worked features widget

parent 82bc6590
......@@ -59,7 +59,7 @@ public:
UBFeaturesController(QWidget *parentWidget);
virtual ~UBFeaturesController();
const QList <UBFeature>& getFeatures()const { return featuresList; }
QList <UBFeature>* getFeatures()const { return featuresList; }
const QString& getRootPath()const { return rootPath; }
......@@ -89,7 +89,7 @@ private:
static UBFeatureElementType fileTypeFromUrl( const QString &path );
QList <UBFeature> featuresList;
QList <UBFeature> *featuresList;
UBFeature *rootElement;
QString mUserAudioDirectoryPath;
......@@ -132,7 +132,7 @@ private:
UBFeature shapesElement;
UBFeature searchElement;
QSet <QString> favoriteSet;
QSet <QString> *favoriteSet;
};
......
......@@ -205,9 +205,9 @@ public:
Qt::DropActions supportedDropActions() const { return Qt::MoveAction | Qt::CopyAction; }
void setFeaturesList(const QList <UBFeature> &flist ) { featuresList = flist; }
void setFeaturesList(QList <UBFeature> *flist ) { featuresList = flist; }
private:
QList <UBFeature> featuresList;
QList <UBFeature> *featuresList;
};
class UBFeaturesProxyModel : public QSortFilterProxyModel
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment