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:
baldurk
2026-08-13 17:46:47 +01:00
parent 5e462c5ebe
commit bb4017a965
75 changed files with 653 additions and 248 deletions
+3 -3
View File
@@ -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);