mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-25 13:05:15 +01:00
...
This commit is contained in:
commit
864edcf610
2 changed files with 2 additions and 3 deletions
|
|
@ -1421,7 +1421,7 @@ class StoreWoblinkStore(StoreBase):
|
|||
StorePragmaticBookshelfStore,
|
||||
StoreSmashwordsStore,
|
||||
StoreVirtualoStore,
|
||||
StoreWaterstonesUKStore,
|
||||
#StoreWaterstonesUKStore,
|
||||
StoreWeightlessBooksStore,
|
||||
StoreWizardsTowerBooksStore,
|
||||
StoreWoblinkStore
|
||||
|
|
|
|||
|
|
@ -25,12 +25,11 @@ class VirtualoStore(BasicStoreConfig, StorePlugin):
|
|||
|
||||
def open(self, parent=None, detail_item=None, external=False):
|
||||
url = 'http://virtualo.pl/ebook/c2/'
|
||||
detail_url = None
|
||||
|
||||
if external or self.config.get('open_external', False):
|
||||
open_url(QUrl(url_slash_cleaner(detail_item if detail_item else url)))
|
||||
else:
|
||||
d = WebStoreDialog(self.gui, url, parent, detail_url)
|
||||
d = WebStoreDialog(self.gui, url, parent, detail_item)
|
||||
d.setWindowTitle(self.name)
|
||||
d.set_tags(self.config.get('tags', ''))
|
||||
d.exec_()
|
||||
|
|
|
|||
Loading…
Reference in a new issue