Skip to content

Commit cbbaf9c

Browse files
committedMay 9, 2018
Fix build warning
1 parent 819ae6f commit cbbaf9c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎src/core/qgsnetworkcontentfetcherregistry.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,10 @@ class CORE_EXPORT QgsFetchedContent : public QObject
106106

107107
private:
108108
void emitFetched() {emit fetched();}
109-
QTemporaryFile *mFile;
110-
QString mFilePath = QStringLiteral();
109+
QTemporaryFile *mFile = nullptr;
110+
QString mFilePath;
111111
QgsNetworkContentFetcherTask *mFetchingTask = nullptr;
112-
ContentStatus mStatus;
112+
ContentStatus mStatus = NotStarted;
113113
QNetworkReply::NetworkError mError = QNetworkReply::NoError;
114114

115115
// allow modification of task and file from main class

0 commit comments

Comments
 (0)
Please sign in to comment.