Skip to content

Commit

Permalink
Fix doxygen and build warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Sep 22, 2014
1 parent f58fbe0 commit 97805b6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/core/composer/qgscomposerattributetablev2.h
Expand Up @@ -194,7 +194,7 @@ class CORE_EXPORT QgsComposerAttributeTableV2: public QgsComposerTableV2
QList<QPair<int, bool> > sortAttributes() const;

/**Queries the attribute table's vector layer for attributes to show in the table.
* @param content table content
* @param contents table content
* @returns true if attributes were successfully fetched
* @note not available in python bindings
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gui/attributetable/qgsattributetabledelegate.cpp
Expand Up @@ -97,7 +97,7 @@ void QgsAttributeTableDelegate::setModelData( QWidget *editor, QAbstractItemMode

newValue = eww->value();

if ( oldValue != newValue && newValue.isValid() || oldValue.isNull() != newValue.isNull() )
if (( oldValue != newValue && newValue.isValid() ) || oldValue.isNull() != newValue.isNull() )
{
vl->beginEditCommand( tr( "Attribute changed" ) );
vl->changeAttributeValue( fid, fieldIdx, newValue, oldValue );
Expand Down
4 changes: 2 additions & 2 deletions src/gui/qgscolorwidgets.h
Expand Up @@ -558,8 +558,8 @@ class GUI_EXPORT QgsColorTextWidget : public QgsColorWidget
*/
enum ColorTextFormat
{
HexRgb = 0, /*!< #RRGGBB in hexadecimal */
HexRgbA, /*!< #RRGGBBAA in hexadecimal, with alpha */
HexRgb = 0, /*!< \#RRGGBB in hexadecimal */
HexRgbA, /*!< \#RRGGBBAA in hexadecimal, with alpha */
Rgb, /*!< rgb( r, g, b ) format */
Rgba /*!< rgba( r, g, b, a ) format, with alpha */
};
Expand Down

0 comments on commit 97805b6

Please sign in to comment.