diff --git a/Gui/DataView/DiagramView/DiagramPrefsDialog.h b/Gui/DataView/DiagramView/DiagramPrefsDialog.h
index da7a8c521e8880ece84511b33c4b470d1790acc4..ecd7b81c1fe7ad94ba6f7c9f087646194158c359 100644
--- a/Gui/DataView/DiagramView/DiagramPrefsDialog.h
+++ b/Gui/DataView/DiagramView/DiagramPrefsDialog.h
@@ -83,14 +83,14 @@ private:
 	/**
 	 * Loading data from a file
 	 * \param filename Name of the file containing the data
-	 * return 1 if everything is okay, 0 and an error message if there were errors
+	 * \return 1 if everything is okay, 0 and an error message if there were errors
 	 */
 	int loadFile(const QString &filename);
 
 	/**
 	 * Setting up the QDiagramList object were the time series data will be stored
 	 * \param coords List of coordinates.
-	 * return 1 if everything is okay, 0 and an error message if there were errors
+	 * \return 1 if everything is okay, 0 and an error message if there were errors
 	 */
 	int loadList(const std::vector< std::pair<QDateTime, float> > &coords);