Skip to content

Commit

Permalink
Fix crash uploader syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
saif-el committed Dec 16, 2019
1 parent 736ad6a commit 387ed15
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions crashhandler/crashreporter/file_uploader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#include <QDebug>
#include <QStandardPaths>
#include <QApplication>
#include <QSettings>

#ifdef Q_OS_MAC
#include "macuploader/interface.h"
Expand Down Expand Up @@ -59,8 +60,8 @@ void FileUploader::uploadMinidump()
+ "mixpanel.ini");
auto settings = new QSettings(settingsPath, QSettings::IniFormat);
QString clientId;
if (settings->contains("mixpanel-uuid")) {
clientId = gaSettings->value("mixpanel-uuid").toString();
if (settings->contains("mixpanel-uuid"))
clientId = settings->value("mixpanel-uuid").toString();

qDebug() << "dump path: " << _dumpPath;
qDebug() << "app name " << STR(APPNAME);
Expand Down

0 comments on commit 387ed15

Please sign in to comment.