'This is called only from the QV button toggle'

def _show_quickview(self, *args):

    if self.current_instance:
        if (not self.current_instance.is_closed):
            self.current_instance._reject()
        self.current_instance = None
    if (self.gui.current_view() is not self.gui.library_view):
        error_dialog(self.gui, _('No    quickview    available'), _('Quickview    is    not    available    for    books    on    the    device.')).exec_()
        return
    self.qv_button.set_state_to_hide()
    index = self.gui.library_view.currentIndex()
    self.current_instance = Quickview(self.gui, index)
    self.current_instance.reopen_after_dock_change.connect(self.open_quickview)
    self.set_search_shortcut()
    self.current_instance.show()
    self.current_instance.quickview_closed.connect(self.qv_button.set_state_to_show)
