Skip to content

Commit cd86710

Browse files
committed
Fix some warnings
1 parent 8c1675a commit cd86710

File tree

7 files changed

+18
-14
lines changed

7 files changed

+18
-14
lines changed

cmake_templates/Doxyfile.in

-12
Original file line numberDiff line numberDiff line change
@@ -1256,18 +1256,6 @@ GENERATE_XML = NO
12561256

12571257
XML_OUTPUT = xml
12581258

1259-
# The XML_SCHEMA tag can be used to specify an XML schema,
1260-
# which can be used by a validating XML parser to check the
1261-
# syntax of the XML files.
1262-
1263-
XML_SCHEMA =
1264-
1265-
# The XML_DTD tag can be used to specify an XML DTD,
1266-
# which can be used by a validating XML parser to check the
1267-
# syntax of the XML files.
1268-
1269-
XML_DTD =
1270-
12711259
# If the XML_PROGRAMLISTING tag is set to YES Doxygen will
12721260
# dump the program listings (including syntax highlighting
12731261
# and cross-referencing information) to the XML output. Note that

python/core/qgsofflineediting.sip

+7
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,11 @@ class QgsOfflineEditing : QObject
5959

6060
/** emit a signal that processing of all layers has finished */
6161
void progressStopped();
62+
63+
/**
64+
* Emitted when a warning needs to be displayed.
65+
* @param title title string for message
66+
* @param message A descriptive message for the warning
67+
*/
68+
void warning( const QString& title, const QString& message );
6269
};

python/gui/qgsmessagebar.sip

+4
Original file line numberDiff line numberDiff line change
@@ -70,27 +70,31 @@ class QgsMessageBar: QFrame
7070

7171
/**
7272
* Pushes a warning with default timeout to the message bar
73+
* @param title title string for message
7374
* @param message The message to be displayed
7475
* @note added in 2.8
7576
*/
7677
void pushSuccess( const QString& title, const QString& message );
7778

7879
/**
7980
* Pushes a warning with default timeout to the message bar
81+
* @param title title string for message
8082
* @param message The message to be displayed
8183
* @note added in 2.8
8284
*/
8385
void pushInfo( const QString& title, const QString& message );
8486

8587
/**
8688
* Pushes a warning with default timeout to the message bar
89+
* @param title title string for message
8790
* @param message The message to be displayed
8891
* @note added in 2.8
8992
*/
9093
void pushWarning( const QString& title, const QString& message );
9194

9295
/**
9396
* Pushes a warning with default timeout to the message bar
97+
* @param title title string for message
9498
* @param message The message to be displayed
9599
* @note added in 2.8
96100
*/

src/core/qgsofflineediting.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class CORE_EXPORT QgsOfflineEditing : public QObject
8787

8888
/**
8989
* Emitted when a warning needs to be displayed.
90-
*
90+
* @param title title string for message
9191
* @param message A descriptive message for the warning
9292
*/
9393
void warning( const QString& title, const QString& message );

src/core/symbology-ng/qgslinesymbollayerv2.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -613,6 +613,7 @@ QColor QgsSimpleLineSymbolLayerV2::dxfColor( const QgsSymbolV2RenderContext& con
613613

614614
double QgsSimpleLineSymbolLayerV2::dxfOffset( const QgsDxfExport& e, const QgsSymbolV2RenderContext& context ) const
615615
{
616+
Q_UNUSED( e );
616617
double offset = mOffset;
617618
QgsExpression* offsetExpression = expression( "offset" );
618619
if ( offsetExpression )

src/gui/attributetable/qgsdualview.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ class GUI_EXPORT QgsDualView : public QStackedWidget, private Ui::QgsDualViewBas
210210

211211
/**
212212
* Will be called, once all the features are loaded.
213-
* Use e.g. to close a dialog created from {@link progress(int i,bool& cancel )}
213+
* Use e.g. to close a dialog created from {@link progress( int i, bool& cancel )}
214214
*/
215215
virtual void finished();
216216

src/gui/qgsmessagebar.h

+4
Original file line numberDiff line numberDiff line change
@@ -109,27 +109,31 @@ class GUI_EXPORT QgsMessageBar: public QFrame
109109

110110
/**
111111
* Pushes a warning with default timeout to the message bar
112+
* @param title title string for message
112113
* @param message The message to be displayed
113114
* @note added in 2.8
114115
*/
115116
void pushSuccess( const QString& title, const QString& message );
116117

117118
/**
118119
* Pushes a warning with default timeout to the message bar
120+
* @param title title string for message
119121
* @param message The message to be displayed
120122
* @note added in 2.8
121123
*/
122124
void pushInfo( const QString& title, const QString& message );
123125

124126
/**
125127
* Pushes a warning with default timeout to the message bar
128+
* @param title title string for message
126129
* @param message The message to be displayed
127130
* @note added in 2.8
128131
*/
129132
void pushWarning( const QString& title, const QString& message );
130133

131134
/**
132135
* Pushes a warning with default timeout to the message bar
136+
* @param title title string for message
133137
* @param message The message to be displayed
134138
* @note added in 2.8
135139
*/

0 commit comments

Comments
 (0)