From 57b587959335412b1688a238a8dbecff8f3508c6 Mon Sep 17 00:00:00 2001 From: Hye Sung Jung Date: Tue, 28 Jan 2020 02:02:17 -0600 Subject: [PATCH] fix spelling errors (#2036) --- src/common/ColorThemeWorker.h | 2 +- src/common/UpdateWorker.cpp | 2 +- src/core/Cutter.h | 2 +- src/menus/DisassemblyContextMenu.cpp | 2 +- src/widgets/HexWidget.cpp | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/common/ColorThemeWorker.h b/src/common/ColorThemeWorker.h index e556ec1c..866b0b46 100644 --- a/src/common/ColorThemeWorker.h +++ b/src/common/ColorThemeWorker.h @@ -106,7 +106,7 @@ public: * @param filePath * Path to file to check. * @param ok - * Output parameter. Indicates wheter or not check was successfull. + * Output parameter. Indicates wheter or not check was successful. * @return true if given file is color theme and ok == true, otherwise returns false. */ bool isFileTheme(const QString &filePath, bool *ok) const; diff --git a/src/common/UpdateWorker.cpp b/src/common/UpdateWorker.cpp index d430daf4..df568654 100644 --- a/src/common/UpdateWorker.cpp +++ b/src/common/UpdateWorker.cpp @@ -130,7 +130,7 @@ void UpdateWorker::showUpdateDialog(bool showDontCheckForUpdatesButton) }); download(fullFileName, latestVersion.toString()); // Calling show() before exec() is only way make dialog non-modal - // it seems wierd, but it works + // it seems weird, but it works progressDial.show(); progressDial.exec(); } diff --git a/src/core/Cutter.h b/src/core/Cutter.h index a6e65a19..b265bbbb 100644 --- a/src/core/Cutter.h +++ b/src/core/Cutter.h @@ -141,7 +141,7 @@ public: /** * @brief Get nearest flag at or before offset. * @param offset search position - * @param flagOffsetOut adress of returned flag + * @param flagOffsetOut address of returned flag * @return flag name */ QString nearestFlag(RVA offset, RVA *flagOffsetOut); diff --git a/src/menus/DisassemblyContextMenu.cpp b/src/menus/DisassemblyContextMenu.cpp index e23bfd49..a4b40760 100644 --- a/src/menus/DisassemblyContextMenu.cpp +++ b/src/menus/DisassemblyContextMenu.cpp @@ -720,7 +720,7 @@ bool DisassemblyContextMenu::writeFailed() msgBox.setIcon(QMessageBox::Icon::Critical); msgBox.setWindowTitle(tr("Write error")); msgBox.setText( - tr("Unable to complete write operation. Consider opening in write mode. \n\nWARNING: In write mode any changes will be commited to disk")); + tr("Unable to complete write operation. Consider opening in write mode. \n\nWARNING: In write mode any changes will be committed to disk")); msgBox.addButton(tr("OK"), QMessageBox::NoRole); QAbstractButton *reopenButton = msgBox.addButton(tr("Reopen in write mode and try again"), QMessageBox::YesRole); diff --git a/src/widgets/HexWidget.cpp b/src/widgets/HexWidget.cpp index f3a706bf..c150cd7e 100644 --- a/src/widgets/HexWidget.cpp +++ b/src/widgets/HexWidget.cpp @@ -895,7 +895,7 @@ QVector HexWidget::rangePolygons(RVA start, RVA last, bool ascii) rect.setRight(endRect.right()); parts.push_back(QPolygonF(rect)); } else { - // two seperate rectangles + // two separate rectangles rect = startRect; rect.setRight(area.right()); parts.push_back(QPolygonF(rect));