Skip to content
Permalink
Browse files
fix instant crash in browser data items.
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 406db65fee7df70e397fae3750894578e8678620
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsdataitem.h
@@ -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

0 comments on commit 406db65

Please sign in to comment.