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 two comments

Halla Rempt503013bdbd66
diff --git a/plugins/paintops/defaultpaintops/brush/KisDabRenderingJob.cpp b/plugins/paintops/defaultpaintops/brush/KisDabRenderingJob.cpp
index 1ff0b1ed1a..6777beff43 100644
--- a/plugins/paintops/defaultpaintops/brush/KisDabRenderingJob.cpp
+++ b/plugins/paintops/defaultpaintops/brush/KisDabRenderingJob.cpp
@@ -53,7 +53,7 @@ KisDabRenderingJob &KisDabRenderingJob::operator=(const KisDabRenderingJob &rhs)
QPoint KisDabRenderingJob::dstDabOffset() const
{
/// Recenter generated low-res dab around the center
- /// of the idle theoretical dab rect
+ /// of the ideal theoretical dab rect
const QPoint p1 = generationInfo.dstDabRect.topLeft();
const QPoint s1 = QPoint(generationInfo.dstDabRect.width(),
generationInfo.dstDabRect.height());
diff --git a/plugins/paintops/mypaint/MyPaintPaintOpPreset.cpp b/plugins/paintops/mypaint/MyPaintPaintOpPreset.cpp
index 35b079e259..8579aac7f9 100644
--- a/plugins/paintops/mypaint/MyPaintPaintOpPreset.cpp
+++ b/plugins/paintops/mypaint/MyPaintPaintOpPreset.cpp
@@ -154,7 +154,7 @@ bool KisMyPaintPaintOpPreset::loadFromDevice(QIODevice *dev, KisResourcesInterfa
auto recoverDeprecatedProperty = [] (auto data, KisPaintOpSettingsSP settings) {
/// we just round-trip the save operation to save the property
- /// out to json object
+ /// out to the json object
data.read(settings.data());
data.write(settings.data());