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++

plugins, sdk: fix various typos Fixes some code ducmentation typos.

Kunda Ki35baa83f4bb4
diff --git a/plugins/platforms/wayland/waylandcolormanagement/KisWaylandSurfaceColorManager.cpp b/plugins/platforms/wayland/waylandcolormanagement/KisWaylandSurfaceColorManager.cpp
index f0e822ebbe..4e3e4a966b 100644
--- a/plugins/platforms/wayland/waylandcolormanagement/KisWaylandSurfaceColorManager.cpp
+++ b/plugins/platforms/wayland/waylandcolormanagement/KisWaylandSurfaceColorManager.cpp
@@ -194,7 +194,7 @@ bool KisWaylandSurfaceColorManager::supportsSurfaceDescription(const KisSurfaceC
/**
* For some obscure reason Wayland compositors implemented transfer_function_srgb
- * as gamma-2.2 transfer function, which caused a lot of confustion. Hence the enum
+ * as gamma-2.2 transfer function, which caused a lot of confusion. Hence the enum
* is going to be deprecated in the upcoming version of the protocol.
*
* https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/442
@@ -267,7 +267,7 @@ QFuture<bool> KisWaylandSurfaceColorManager::setSurfaceDescription(const KisSurf
if (!future.result()) return false;
if (!m_surface) {
- qWarning() << "WARNING: the surface has been desctroyed while its format was being set!";
+ qWarning() << "WARNING: the surface has been destroyed while its format was being set!";
return false;
}
diff --git a/sdk/tests/ui_manager_test.h b/sdk/tests/ui_manager_test.h
index fdc09838be..4e952eaaf4 100644
--- a/sdk/tests/ui_manager_test.h
+++ b/sdk/tests/ui_manager_test.h
@@ -81,7 +81,7 @@ public:
~UiManagerTest() {
/**
- * Here is a weird way of precessing pending events.
+ * Here is a weird way of processing pending events.
* This is needed for the dummies facade could process
* all the queued events telling it some nodes were
* added/deleted