mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 07:55:21 +01:00
Extend telemetry to include OS Imager is being run on
This commit is contained in:
parent
3ac4ee7326
commit
538cf8c9dd
5 changed files with 39 additions and 7 deletions
|
@ -170,6 +170,7 @@ ImageWriter::ImageWriter(QObject *parent)
|
|||
if (langcode == currentlangcode)
|
||||
{
|
||||
_currentLang = langname;
|
||||
_currentLangcode = currentlangcode;
|
||||
}
|
||||
}
|
||||
//_currentKeyboard = "us";
|
||||
|
@ -278,7 +279,7 @@ void ImageWriter::startWrite()
|
|||
_thread = new DownloadExtractThread(urlstr, _dst.toLatin1(), _expectedHash, this);
|
||||
if (_repo.toString() == OSLIST_URL)
|
||||
{
|
||||
DownloadStatsTelemetry *tele = new DownloadStatsTelemetry(urlstr, _parentCategory.toLatin1(), _osName.toLatin1(), this);
|
||||
DownloadStatsTelemetry *tele = new DownloadStatsTelemetry(urlstr, _parentCategory.toLatin1(), _osName.toLatin1(), _embeddedMode, _currentLangcode, this);
|
||||
connect(tele, SIGNAL(finished()), tele, SLOT(deleteLater()));
|
||||
tele->start();
|
||||
}
|
||||
|
@ -1136,6 +1137,7 @@ void ImageWriter::changeLanguage(const QString &newLanguageName)
|
|||
{
|
||||
replaceTranslator(trans);
|
||||
_currentLang = newLanguageName;
|
||||
_currentLangcode = langcode;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue