Commit 9439be23 authored by Oliver Kellogg's avatar Oliver Kellogg
Browse files

Cosmetic fixes:

umbrello/icon_utils.h
umbrello/umlwidgets/umlwidget.h
umbrello/uml1model/attribute.cpp
- Fix typo in comment.

umbrello/umlwidgets/interfacewidget.cpp
- Add #include "classifier.h".
parent 4b1a4d48
......@@ -37,7 +37,7 @@
/**
* This class is a gateway to KIconLoader for for handling all the
* used icons in umbrello. Identification is done with an enum and
* icons used in umbrello. Identification is done with an enum and
* then a translation to the icon name.
* @author Andreas Fischer
*/
......
......@@ -4,7 +4,7 @@
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* copyright (C) 2002-2020 *
* copyright (C) 2002-2021 *
* Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
***************************************************************************/
......@@ -375,7 +375,7 @@ void UMLAttribute::setTemplateParams(const QString& templateParam, UMLClassifier
}
}
if (count != 0) {
//The template is ill-formatted, let's quit
//The template is ill-formed, let's quit
return;
}
setTemplateParams(type.mid(start + 1, end - start - 1), templateParamList);
......
......@@ -4,12 +4,13 @@
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* copyright (C) 2019-2020 *
* copyright (C) 2019-2021 *
* Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
***************************************************************************/
#include "interfacewidget.h"
#include "classifier.h"
#include "debug_utils.h"
DEBUG_REGISTER_DISABLED(InterfaceWidget)
......
......@@ -4,7 +4,7 @@
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* copyright (C) 2002-2020 *
* copyright (C) 2002-2021 *
* Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
***************************************************************************/
......@@ -303,7 +303,7 @@ protected:
QPointF m_startMovePostion;
QSizeF m_startResizeSize;
int m_nPosX;
UMLDoc *m_doc; ///< shortcut for UMLApp::app()->getDocument()
UMLDoc *m_doc; ///< shortcut for UMLApp::app()->document()
bool m_resizable;
QFontMetrics *m_pFontMetrics[FT_INVALID];
QSizeF m_minimumSize;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment