Fix CSA warnings: Called C++ object pointer is null

Logic error: Called C++ object pointer is null
 1: Assuming pointer value is null in /home/phenom/GIT/RetroShare/trunk/
retroshare-gui/src/gui/common/MimeTextEdit.cpp:65
 2: Called C++ object pointer is null in /home/phenom/GIT/RetroShare/
trunk/retroshare-gui/src/gui/common/MimeTextEdit.cpp:83
This commit is contained in:
Phenom 2017-04-19 14:15:34 +02:00 committed by csoler
parent 30632dcfeb
commit 1f16f46aad

View File

@ -77,6 +77,7 @@ void MimeTextEdit::insertFromMimeData(const QMimeData* source)
}
}
#endif
if (source == NULL) return;
//insert retroshare links
QList<RetroShareLink> links;