Sat, 26 Oct 2013 17:37:39 +0200
Fixed an issue causing trouble if the printer name is empty.
(grafted from 83f86da6344eeb0cbdb3c56e270f2f0a276c8b14)
# -*- coding: utf-8 -*- # Copyright (c) 2010 - 2013 Detlev Offenbach <detlev@die-offenbachs.de> # """ Module implementing a dialog to show SSL certificate infos. """ from PyQt4.QtGui import QDialog from .Ui_SslInfoDialog import Ui_SslInfoDialog class SslInfoDialog(QDialog, Ui_SslInfoDialog): """ Class implementing a dialog to show SSL certificate infos. """ def __init__(self, certificate, parent=None): """ Constructor @param certificate reference to the SSL certificate (QSslCertificate) @param parent reference to the parent widget (QWidget) """ super().__init__(parent) self.setupUi(self) self.sslWidget.showCertificate(certificate)