mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 00:14:06 +00:00
1
This commit is contained in:
parent
0d89c4ab56
commit
469896bbf1
|
@ -42,8 +42,6 @@ public:
|
||||||
inside_iframe( inside_iframe_ ),
|
inside_iframe( inside_iframe_ ),
|
||||||
netMgr( netMgr_ )
|
netMgr( netMgr_ )
|
||||||
{
|
{
|
||||||
//else file:/// local dictionary file path
|
|
||||||
|
|
||||||
urlTemplate = QUrl( urlTemplate_ ).toEncoded();
|
urlTemplate = QUrl( urlTemplate_ ).toEncoded();
|
||||||
dictionaryDescription = urlTemplate_;
|
dictionaryDescription = urlTemplate_;
|
||||||
}
|
}
|
||||||
|
@ -55,7 +53,9 @@ public:
|
||||||
|
|
||||||
map< Property, string > getProperties() noexcept override
|
map< Property, string > getProperties() noexcept override
|
||||||
{
|
{
|
||||||
return map< Property, string >();
|
map< Property, string > properties;
|
||||||
|
properties.insert({ Property::Url, urlTemplate_ } ) ;
|
||||||
|
return properties;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned long getArticleCount() noexcept override
|
unsigned long getArticleCount() noexcept override
|
||||||
|
|
Loading…
Reference in a new issue