commit 9e58d56e6db4266440bf80ad27289c94b55f2083 parent 8412b53ed59cf4f2f88dfe6577f3ef3c5a01502b Author: SomberNight <somber.night@protonmail.com> Date: Mon, 4 Feb 2019 17:59:03 +0100 qt qrwindow: rm dead code Diffstat:
M | electrum/gui/qt/qrwindow.py | | | 15 | ++------------- |
1 file changed, 2 insertions(+), 13 deletions(-)
diff --git a/electrum/gui/qt/qrwindow.py b/electrum/gui/qt/qrwindow.py @@ -23,23 +23,12 @@ # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -import platform - from PyQt5.QtCore import Qt -from PyQt5.QtGui import * -from PyQt5.QtWidgets import QHBoxLayout, QVBoxLayout, QLabel, QWidget +from PyQt5.QtWidgets import QHBoxLayout, QWidget from .qrcodewidget import QRCodeWidget -from electrum.i18n import _ -if platform.system() == 'Windows': - MONOSPACE_FONT = 'Lucida Console' -elif platform.system() == 'Darwin': - MONOSPACE_FONT = 'Monaco' -else: - MONOSPACE_FONT = 'monospace' - -column_index = 4 +from electrum.i18n import _ class QR_Window(QWidget):