diff --git a/plugins/channeltx/modatv/atvmodsource.h b/plugins/channeltx/modatv/atvmodsource.h index daa55009d..17d369b8a 100644 --- a/plugins/channeltx/modatv/atvmodsource.h +++ b/plugins/channeltx/modatv/atvmodsource.h @@ -208,7 +208,7 @@ private: bool m_videoOK; std::vector m_cameras; //!< vector of available cameras - int m_cameraIndex; //!< curent camera index in list of available cameras + int m_cameraIndex; //!< current camera index in list of available cameras std::string m_overlayText; QString m_imageFileName; diff --git a/sdrbase/dsp/filerecord.cpp b/sdrbase/dsp/filerecord.cpp index 675ecb1e8..603e8931c 100644 --- a/sdrbase/dsp/filerecord.cpp +++ b/sdrbase/dsp/filerecord.cpp @@ -117,11 +117,11 @@ bool FileRecord::startRecording() if (!m_sampleFile.is_open()) { qDebug() << "FileRecord::startRecording"; - m_curentFileName = QString("%1.%2.sdriq").arg(m_fileBase).arg(QDateTime::currentDateTimeUtc().toString("yyyy-MM-ddTHH_mm_ss_zzz")); - m_sampleFile.open(m_curentFileName.toStdString().c_str(), std::ios::binary); + m_currentFileName = QString("%1.%2.sdriq").arg(m_fileBase).arg(QDateTime::currentDateTimeUtc().toString("yyyy-MM-ddTHH_mm_ss_zzz")); + m_sampleFile.open(m_currentFileName.toStdString().c_str(), std::ios::binary); if (!m_sampleFile.is_open()) { - qWarning() << "FileRecord::startRecording: failed to open file: " << m_curentFileName; + qWarning() << "FileRecord::startRecording: failed to open file: " << m_currentFileName; return false; } m_recordOn = true; @@ -143,7 +143,7 @@ bool FileRecord::stopRecording() m_recordStart = false; if (m_sampleFile.bad()) { - qWarning() << "FileRecord::stopRecording: an error occurred while writing to " << m_curentFileName; + qWarning() << "FileRecord::stopRecording: an error occurred while writing to " << m_currentFileName; return false; } } diff --git a/sdrbase/dsp/filerecord.h b/sdrbase/dsp/filerecord.h index 533263e3c..02ba5d706 100644 --- a/sdrbase/dsp/filerecord.h +++ b/sdrbase/dsp/filerecord.h @@ -50,7 +50,7 @@ public: quint64 getByteCount() const { return m_byteCount; } void setMsShift(qint64 shift) { m_msShift = shift; } - const QString& getCurrentFileName() { return m_curentFileName; } + const QString& getCurrentFileName() { return m_currentFileName; } void genUniqueFileName(uint deviceUID, int istream = -1); @@ -74,7 +74,7 @@ private: bool m_recordOn; bool m_recordStart; std::ofstream m_sampleFile; - QString m_curentFileName; + QString m_currentFileName; quint64 m_byteCount; qint64 m_msShift; QRecursiveMutex m_mutex; diff --git a/sdrbase/dsp/wavfilerecord.cpp b/sdrbase/dsp/wavfilerecord.cpp index 8111615de..d2737e29f 100644 --- a/sdrbase/dsp/wavfilerecord.cpp +++ b/sdrbase/dsp/wavfilerecord.cpp @@ -129,11 +129,11 @@ bool WavFileRecord::startRecording() if (!m_sampleFile.is_open()) { qDebug() << "WavFileRecord::startRecording"; - m_curentFileName = QString("%1.%2.wav").arg(m_fileBase).arg(QDateTime::currentDateTimeUtc().toString("yyyy-MM-ddTHH_mm_ss_zzz")); - m_sampleFile.open(m_curentFileName.toStdString().c_str(), std::ios::binary); + m_currentFileName = QString("%1.%2.wav").arg(m_fileBase).arg(QDateTime::currentDateTimeUtc().toString("yyyy-MM-ddTHH_mm_ss_zzz")); + m_sampleFile.open(m_currentFileName.toStdString().c_str(), std::ios::binary); if (!m_sampleFile.is_open()) { - qWarning() << "WavFileRecord::startRecording: failed to open file: " << m_curentFileName; + qWarning() << "WavFileRecord::startRecording: failed to open file: " << m_currentFileName; return false; } m_recordOn = true; @@ -161,7 +161,7 @@ bool WavFileRecord::stopRecording() m_recordStart = false; if (m_sampleFile.bad()) { - qWarning() << "WavFileRecord::stopRecording: an error occurred while writing to " << m_curentFileName; + qWarning() << "WavFileRecord::stopRecording: an error occurred while writing to " << m_currentFileName; return false; } } diff --git a/sdrbase/dsp/wavfilerecord.h b/sdrbase/dsp/wavfilerecord.h index 899f1c305..49e21298f 100644 --- a/sdrbase/dsp/wavfilerecord.h +++ b/sdrbase/dsp/wavfilerecord.h @@ -92,7 +92,7 @@ public: quint64 getByteCount() const { return m_byteCount; } void setMsShift(qint64 shift) override { m_msShift = shift; } virtual int getBytesPerSample() override { return 4; }; - const QString& getCurrentFileName() override { return m_curentFileName; } + const QString& getCurrentFileName() override { return m_currentFileName; } void genUniqueFileName(uint deviceUID, int istream = -1); @@ -120,7 +120,7 @@ private: bool m_recordOn; bool m_recordStart; std::ofstream m_sampleFile; - QString m_curentFileName; + QString m_currentFileName; quint64 m_byteCount; qint64 m_msShift; diff --git a/sdrgui/mainwindow.cpp b/sdrgui/mainwindow.cpp index 249c4c608..519f7fe9a 100644 --- a/sdrgui/mainwindow.cpp +++ b/sdrgui/mainwindow.cpp @@ -2042,7 +2042,7 @@ void MainWindow::on_action_saveAll_triggered() { saveConfiguration(m_mainCore->m_settings.getWorkingConfiguration()); m_mainCore->m_settings.save(); - QMessageBox::information(this, tr("Done"), tr("All curent settings saved")); + QMessageBox::information(this, tr("Done"), tr("All current settings saved")); } void MainWindow::on_action_Quick_Start_triggered()