mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 13:00:32 +00:00
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:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user