mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-21 05:05:44 +00:00
Add a spellchecking mode for sphinx and fix some typos
* The worst one was Persistant -> Persistent. This involved renaming PersistentConfig but the impact of that is considered minimal enough to be worth fixing.
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
|
||||
const qint64 MaxUploadSize = 2250LL * 1024LL * 1024LL;
|
||||
|
||||
CrashDialog::CrashDialog(PersistantConfig &cfg, QVariantMap crashReportJSON, QWidget *parent)
|
||||
CrashDialog::CrashDialog(PersistentConfig &cfg, QVariantMap crashReportJSON, QWidget *parent)
|
||||
: QDialog(parent), ui(new Ui::CrashDialog), m_Config(cfg)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
@@ -256,14 +256,14 @@ CrashDialog::~CrashDialog()
|
||||
delete ui;
|
||||
}
|
||||
|
||||
bool CrashDialog::HasCaptureReady(PersistantConfig &cfg)
|
||||
bool CrashDialog::HasCaptureReady(PersistentConfig &cfg)
|
||||
{
|
||||
QFileInfo capInfo(cfg.CrashReport_LastOpenedCapture);
|
||||
|
||||
return capInfo.exists() && capInfo.size() <= MaxUploadSize;
|
||||
}
|
||||
|
||||
bool CrashDialog::CaptureTooLarge(PersistantConfig &cfg)
|
||||
bool CrashDialog::CaptureTooLarge(PersistentConfig &cfg)
|
||||
{
|
||||
QFileInfo capInfo(cfg.CrashReport_LastOpenedCapture);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user