diff options
author | lwsk | 2018-03-31 13:36:00 +0200 |
---|---|---|
committer | lwsk | 2018-03-31 13:36:00 +0200 |
commit | 9d41547621853c5a1a496e6fd57b4084501d6098 (patch) | |
tree | b68446463d41b2fa203f9cca0ad1810fb392abf5 | |
parent | f39ca034f6a53c2b34c3d75b8735aa3c24d3883c (diff) | |
download | aur-9d41547621853c5a1a496e6fd57b4084501d6098.tar.gz |
patching...
-rw-r--r-- | PKGBUILD | 1 | ||||
-rw-r--r-- | gui.py | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -19,6 +19,7 @@ package() { PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --no-deps pyinstaller PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --no-deps psutil PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --no-deps PyQt5 + PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --no-deps termcolor pyinstaller -F ../openleecher.py @@ -7,6 +7,7 @@ import sys import subprocess from PyQt5 import QtCore, QtGui, QtWidgets + if os.name == 'nt': from PyQt5.QtWebEngineWidgets import QWebEngineView else: @@ -153,6 +154,7 @@ class Ui_MainWindow(object): self.Webview_Result = QWebEngineView(self.tab_R) else: self.Webview_Result = QWebView(self.tab_R) + self.Webview_Result.setGeometry(QtCore.QRect(self.groupBox_R.width(), 0, self.tab_R.width()-self.groupBox_R.width(), self.tab_R.height() - 4)) self.Webview_Result.setUrl(QtCore.QUrl("about:blank")) self.Webview_Result.setObjectName("Webview_Result") |