Rewrite the analytics intro text to be less of a wall of text

* Also add a preview of what data will be included in any report, both
  in the intro and in the confirmation before sending any report.
This commit is contained in:
baldurk
2018-01-19 16:33:45 +00:00
parent 65ef82466c
commit 33b3176cd4
8 changed files with 267 additions and 29 deletions
@@ -23,6 +23,7 @@
******************************************************************************/
#include "AnalyticsPromptDialog.h"
#include <QDesktopServices>
#include "Code/Interface/QRDInterface.h"
#include "ui_AnalyticsPromptDialog.h"
@@ -63,3 +64,15 @@ void AnalyticsPromptDialog::on_optOut_toggled(bool checked)
m_Config.Analytics_TotalOptOut = true;
}
}
void AnalyticsPromptDialog::on_label_linkActivated(const QString &link)
{
if(link == lit("#documentreport"))
{
Analytics::DocumentReport();
}
else
{
QDesktopServices::openUrl(QUrl(link));
}
}