diff --git a/CMakeLists.txt b/CMakeLists.txt index 9b85719d..ffdccde7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -63,7 +63,7 @@ set(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_SOURCE_DIR}/README.md") # TODO: Wher # source? if(WIN32) - # Include all dynamically linked runtime libaries such as MSVCRxxx.dll + # Include all dynamically linked runtime libraries such as MSVCRxxx.dll include(InstallRequiredSystemLibraries) if(RUN_IN_PLACE) diff --git a/scripts/upload_services/transferwee.py b/scripts/upload_services/transferwee.py index 60fea046..8604e74c 100644 --- a/scripts/upload_services/transferwee.py +++ b/scripts/upload_services/transferwee.py @@ -115,7 +115,7 @@ def download_url(url: str) -> str: def _file_unquote(file: str) -> str: """Given a URL encoded file unquote it. - All occurences of `\', `/' and `../' will be ignored to avoid possible + All occurrences of `\', `/' and `../' will be ignored to avoid possible directory traversals. """ return urllib.parse.unquote(file).replace('../', '').replace('/', '').replace('\\', '') @@ -297,7 +297,7 @@ def upload(files: List[str], message: str = '', sender: str = None, Also accepts optional parameters: - `message': message used as a description of the transfer - `sender': email address used to receive an ACK if the upload is - successfull. For every download by the recipients an email + successful. For every download by the recipients an email will be also sent - `recipients': list of email addresses of recipients. When the upload succeed every recipients will receive an email with a link diff --git a/src/tools/capturetool.h b/src/tools/capturetool.h index efca8b7f..ad191ce1 100644 --- a/src/tools/capturetool.h +++ b/src/tools/capturetool.h @@ -118,7 +118,7 @@ public: virtual QIcon icon(const QColor& background, bool inEditor) const = 0; // Name displayed for the tool, this could be translated with tr() virtual QString name() const = 0; - // Codename for the tool, this hsouldn't change as it is used as ID + // Codename for the tool, this shouldn't change as it is used as ID // for the tool in the internals of Flameshot virtual ToolType nameID() const = 0; // Short description of the tool. diff --git a/src/widgets/capture/buttonhandler.cpp b/src/widgets/capture/buttonhandler.cpp index cc6b9a2c..c45dba5d 100644 --- a/src/widgets/capture/buttonhandler.cpp +++ b/src/widgets/capture/buttonhandler.cpp @@ -120,7 +120,7 @@ void ButtonHandler::updatePosition(const QRect& selection) elemsAtCorners -= elemCornersTop; int elemCornersBotton = qBound(0, elemsAtCorners, maxExtra); - // Add buttons at the button of the seletion + // Add buttons at the button of the selection if (!m_blockedBotton) { int addCounter = buttonsPerRow + elemCornersBotton; // Don't add more than we have @@ -135,7 +135,7 @@ void ButtonHandler::updatePosition(const QRect& selection) horizontalPoints(center, addCounter, true); moveButtonsToPoints(positions, elemIndicator); } - // Add buttons at the right side of the seletion + // Add buttons at the right side of the selection if (!m_blockedRight && elemIndicator < vecLength) { int addCounter = buttonsPerCol; addCounter = qBound(0, addCounter, vecLength - elemIndicator); @@ -146,7 +146,7 @@ void ButtonHandler::updatePosition(const QRect& selection) verticalPoints(center, addCounter, false); moveButtonsToPoints(positions, elemIndicator); } - // Add buttons at the top of the seletion + // Add buttons at the top of the selection if (!m_blockedTop && elemIndicator < vecLength) { int addCounter = buttonsPerRow + elemCornersTop; addCounter = qBound(0, addCounter, vecLength - elemIndicator); @@ -159,7 +159,7 @@ void ButtonHandler::updatePosition(const QRect& selection) horizontalPoints(center, addCounter, false); moveButtonsToPoints(positions, elemIndicator); } - // Add buttons at the left side of the seletion + // Add buttons at the left side of the selection if (!m_blockedLeft && elemIndicator < vecLength) { int addCounter = buttonsPerCol; addCounter = qBound(0, addCounter, vecLength - elemIndicator); diff --git a/src/widgets/capture/notifierbox.cpp b/src/widgets/capture/notifierbox.cpp index 906ef7ff..8d9d8802 100644 --- a/src/widgets/capture/notifierbox.cpp +++ b/src/widgets/capture/notifierbox.cpp @@ -48,7 +48,7 @@ void NotifierBox::enterEvent(QEvent*) void NotifierBox::paintEvent(QPaintEvent*) { QPainter painter(this); - // draw Elipse + // draw Ellipse painter.setRenderHint(QPainter::Antialiasing); painter.setBrush(QBrush(m_bgColor, Qt::SolidPattern)); painter.setPen(QPen(Qt::transparent));