Skip to content

Commit

Permalink
fix instant crash in browser data items.
Browse files Browse the repository at this point in the history
Avoids passing references to potentially short living QStrings to threads

(followup 70bff3f)
  • Loading branch information
jef-n committed Oct 28, 2015
1 parent 2bb0cf9 commit 406db65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsdataitem.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
class QgsDataProvider;
class QgsDataItem;

typedef QgsDataItem * dataItem_t( const QString&, QgsDataItem* );
typedef QgsDataItem * dataItem_t( QString, QgsDataItem* );

/** Animated icon is keeping an animation running if there are listeners connected to frameChanged */
class CORE_EXPORT QgsAnimatedIcon : public QObject
Expand Down

0 comments on commit 406db65

Please sign in to comment.