mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 13:20:54 +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 "AnalyticsConfirmDialog.h"
|
||||
#include <QDesktopServices>
|
||||
#include <QFontDatabase>
|
||||
#include <QPushButton>
|
||||
#include "ui_AnalyticsConfirmDialog.h"
|
||||
@@ -43,3 +44,15 @@ AnalyticsConfirmDialog::~AnalyticsConfirmDialog()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void AnalyticsConfirmDialog::on_label_linkActivated(const QString &link)
|
||||
{
|
||||
if(link == lit("#documentreport"))
|
||||
{
|
||||
Analytics::DocumentReport();
|
||||
}
|
||||
else
|
||||
{
|
||||
QDesktopServices::openUrl(QUrl(link));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user