Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

Fix documentation typos Also includes source comment typo fix

Kunda Ki4abcdd899797
diff --git a/CMakeLists.txt b/CMakeLists.txt
index dd5aa7631a..d7a4924bf4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -256,7 +256,7 @@ add_feature_info("Dr. Mingw" USE_DRMINGW "Enable the Dr. Mingw crash handler")
message(WARNING "Linker Security Flags not enabled!")
endif (USE_MINGW_HARDENING_LINKER)
- # Clang does not generate DWARF aranges data by default, which makes
+ # Clang does not generate DWARF arranges data by default, which makes
# DrMingw not able to parse the DWARF debug symbols. Add -gdwarf-aranges
# explicitly.
# See: https://github.com/jrfonseca/drmingw/issues/42#issuecomment-516614561
@@ -856,9 +856,9 @@ endif()
# Force enable a good many optimizations
if (MSVC AND NOT BUILD_TESTING)
- # Aggresive inlining (Release)
+ # Aggressive inlining (Release)
string(REPLACE "Ob2" "Ob3" CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE}")
- # Aggresive inlining (RelWithDebInfo)
+ # Aggressive inlining (RelWithDebInfo)
string(REPLACE "Ob1" "Ob3" CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO}")
# Whole program optimization
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /GL")
@@ -1223,7 +1223,7 @@ endif()
find_package(Mlt7)
set_package_properties(Mlt7 PROPERTIES DESCRIPTION "Media Lovin' Toolkit (Multimedia Framework)"
URL "https://mltframework.org/"
- PURPOSE "Required to do audio/video syncrhonization and processing. No MLT = No Audio! ")
+ PURPOSE "Required to do audio/video synchronization and processing. No MLT = No Audio! ")
if (Mlt7_FOUND)
find_package(SDL2 REQUIRED)
set_package_properties(SDL2 PROPERTIES DESCRIPTION "Simple DirectMedia Layer 2"
diff --git a/HACKING b/HACKING
index 824f5dd944..c5a8f0d4f2 100644
--- a/HACKING
+++ b/HACKING
@@ -313,8 +313,8 @@ QML Notes:
is already set to the contentHeight, so doesn't need to be set (and can in fact lead to slowdowns).
Conversely, if no implicit height is set on the content item, the content item will take the height
and width from the parent button or popup.
- - Similarly, ListViews are not supossed to instatiate delegates outside of their views, but if a ListViews
- is instatiated with their height set to contentHeight, then, even as the ListView resizes itself later, it
+ - Similarly, ListViews are not supposed to instantiate delegates outside of their views, but if a ListViews
+ is instantiated with their height set to contentHeight, then, even as the ListView resizes itself later, it
will instantiate a delegate for every single item it could lay out upon the ListView itself be instantiated.
It's better to set the default height of the ListView to something bounded, like the fontSize * 3, and then
ensure it is resized later.
diff --git a/README.packagers.md b/README.packagers.md
index 6f7fa11970..0048d5e3ca 100644
--- a/README.packagers.md
+++ b/README.packagers.md
@@ -20,7 +20,7 @@ We have chosen to ship G’MIC-Qt as a library because of two longstanding
bugs.
The Krita host for G’MIC-Qt relies on `QSharedMemory`, i.e. a shared
-memory segment, on wich a pipe is instantiated to pass messages to and
+memory segment, on which a pipe is instantiated to pass messages to and
from the host app. Firstly, this approach made opening two simultaneous
G’MIC-Qt instances (each paired to its own Krita instance) impossible
[^1]. Secondly, it also forbade using G’MIC-Qt with Krita on CentOS, as