Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Avoid cppcheck warning
  • Loading branch information
nyalldawson committed Dec 7, 2021
1 parent 701995d commit ec1ef84
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/crashhandler/qgscrashreport.h
Expand Up @@ -102,11 +102,13 @@ class QgsCrashReport
*/
void setPythonCrashLogFilePath( const QString &path );

struct PythonFault
class PythonFault
{
LikelyPythonFaultCause cause = LikelyPythonFaultCause::NotPython;
QString title;
QString filePath;
public:

LikelyPythonFaultCause cause = LikelyPythonFaultCause::NotPython;
QString title;
QString filePath;
};

PythonFault pythonFault() const { return mPythonFault; }
Expand Down

0 comments on commit ec1ef84

Please sign in to comment.