diff --git a/libs/libkis/Document.h b/libs/libkis/Document.h --- a/libs/libkis/Document.h +++ b/libs/libkis/Document.h @@ -199,13 +199,13 @@ QColor backgroundColor(); /** - * @brief setBackGroundColor sets the background color of the document. It will trigger a projection + * @brief setBackgroundColor sets the background color of the document. It will trigger a projection * update. * * @param color A QColor. The color will be converted from sRGB. * @return bool */ - bool setBackGroundColor(const QColor &color); + bool setBackgroundColor(const QColor &color); /** * @brief documentInfo creates and XML document representing document and author information. diff --git a/libs/libkis/Document.cpp b/libs/libkis/Document.cpp --- a/libs/libkis/Document.cpp +++ b/libs/libkis/Document.cpp @@ -52,7 +52,6 @@ #include #include #include -#include #include #include @@ -208,7 +207,7 @@ return color.toQColor(); } -bool Document::setBackGroundColor(const QColor &color) +bool Document::setBackgroundColor(const QColor &color) { if (!d->document) return false; if (!d->document->image()) return false; diff --git a/plugins/extensions/pykrita/sip/krita/Document.sip b/plugins/extensions/pykrita/sip/krita/Document.sip --- a/plugins/extensions/pykrita/sip/krita/Document.sip +++ b/plugins/extensions/pykrita/sip/krita/Document.sip @@ -27,7 +27,7 @@ bool setColorProfile(const QString &colorProfile); bool setColorSpace(const QString &value, const QString &colorDepth, const QString &colorProfile); QColor backgroundColor(); - bool setBackGroundColor(const QColor &color); + bool setBackgroundColor(const QColor &color); QString documentInfo() const; void setDocumentInfo(const QString &document); QString fileName() const;