Fix some warnings

This commit is contained in:
Abs62 2012-11-17 21:03:58 +04:00
parent 1f67465870
commit 6ae3a3a4d5

View file

@ -198,14 +198,15 @@ struct Preferences
/// A MediaWiki network dictionary definition /// A MediaWiki network dictionary definition
struct MediaWiki struct MediaWiki
{ {
QString id, name, url, icon; QString id, name, url;
bool enabled; bool enabled;
QString icon;
MediaWiki(): enabled( false ) MediaWiki(): enabled( false )
{} {}
MediaWiki( QString const & id_, QString const & name_, QString const & url_, MediaWiki( QString const & id_, QString const & name_, QString const & url_,
bool enabled_, QString icon_ ): bool enabled_, QString const & icon_ ):
id( id_ ), name( name_ ), url( url_ ), enabled( enabled_ ), icon( icon_ ) {} id( id_ ), name( name_ ), url( url_ ), enabled( enabled_ ), icon( icon_ ) {}
bool operator == ( MediaWiki const & other ) const bool operator == ( MediaWiki const & other ) const