mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 08:34:08 +00:00
Fix some warnings
This commit is contained in:
parent
1f67465870
commit
6ae3a3a4d5
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue