From 680e3dd13e4394bbc5ea1d1bf7d46f772ffe426b Mon Sep 17 00:00:00 2001 From: Kurt Hindenburg Date: Sun, 25 Oct 2020 20:38:28 -0400 Subject: [PATCH] Fix spelling issues --- src/EscapeSequenceUrlExtractor.h | 2 +- src/ProcessInfo.cpp | 2 +- src/main.cpp | 2 +- src/session/SessionController.h | 2 +- src/widgets/EditProfileDialog.cpp | 2 +- src/widgets/TerminalHeaderBar.cpp | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/EscapeSequenceUrlExtractor.h b/src/EscapeSequenceUrlExtractor.h index 0ba1e1564..b4d9f07e3 100644 --- a/src/EscapeSequenceUrlExtractor.h +++ b/src/EscapeSequenceUrlExtractor.h @@ -104,7 +104,7 @@ public: void abortUrlInput(); /* The URL is parsed at once, but not the text. We received - * one character per time untill we hit the end byte. */ + * one character per time until we hit the end byte. */ void appendUrlText(QChar c); /* The URL is parsed at once, store it at once. */ diff --git a/src/ProcessInfo.cpp b/src/ProcessInfo.cpp index dc9f14a2a..0dfa0d138 100644 --- a/src/ProcessInfo.cpp +++ b/src/ProcessInfo.cpp @@ -371,7 +371,7 @@ protected: private: bool readProcInfo(int pid) override { - // indicies of various fields within the process status file which + // indices of various fields within the process status file which // contain various information about the process const int PARENT_PID_FIELD = 3; const int PROCESS_NAME_FIELD = 1; diff --git a/src/main.cpp b/src/main.cpp index bc9b03090..35782adc9 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -300,7 +300,7 @@ bool shouldUseNewProcess(int argc, char *argv[]) } } - // if users have explictly requested starting a new process + // if users have explicitly requested starting a new process // Support --nofork to retain argument compatibility with older // versions. if (arguments.contains(QStringLiteral("--separate")) diff --git a/src/session/SessionController.h b/src/session/SessionController.h index cec8d7c4d..2ef32fb25 100644 --- a/src/session/SessionController.h +++ b/src/session/SessionController.h @@ -180,7 +180,7 @@ Q_SIGNALS: void tabColoredByUser(bool set) const; /** - * Emmited when the user request print screen. + * Emitted when the user request print screen. */ void requestPrint(); diff --git a/src/widgets/EditProfileDialog.cpp b/src/widgets/EditProfileDialog.cpp index 4d16f22c8..8238f7c75 100644 --- a/src/widgets/EditProfileDialog.cpp +++ b/src/widgets/EditProfileDialog.cpp @@ -1224,7 +1224,7 @@ void EditProfileDialog::gotNewColorSchemes(const KNS3::Entry::List &changedEntri continue; } qWarning() << "Failed to unload file" << file; - // If unloading fails we do not care. Iff the scheme failed here + // If unloading fails we do not care. If the scheme failed here // it either wasn't loaded or was invalid to begin with. } break; diff --git a/src/widgets/TerminalHeaderBar.cpp b/src/widgets/TerminalHeaderBar.cpp index b74e8514f..f34b99092 100644 --- a/src/widgets/TerminalHeaderBar.cpp +++ b/src/widgets/TerminalHeaderBar.cpp @@ -125,7 +125,7 @@ void TerminalHeaderBar::mouseDoubleClickEvent(QMouseEvent *ev) m_toggleExpandedMode->click(); } -// Hack untill I can detangle the creation of the TerminalViews +// Hack until I can detangle the creation of the TerminalViews void TerminalHeaderBar::finishHeaderSetup(ViewProperties *properties) { auto controller = dynamic_cast(properties);