From 25136b3cc2da63a17f34fb97fe660f69bc5dbd6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Mon, 23 Dec 2019 20:34:36 -0500 Subject: Remove QClipboard, it is better for the user to manually add the URL --- hypervideo_gui/main_ui.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'hypervideo_gui/main_ui.py') diff --git a/hypervideo_gui/main_ui.py b/hypervideo_gui/main_ui.py index ccbbf2d..2150411 100644 --- a/hypervideo_gui/main_ui.py +++ b/hypervideo_gui/main_ui.py @@ -15,7 +15,7 @@ from PyQt5.QtCore import ( QSettings ) -from PyQt5.QtGui import QIcon, QFont, QClipboard +from PyQt5.QtGui import QIcon, QFont from PyQt5.QtWidgets import ( QAction, QApplication, @@ -225,12 +225,6 @@ class MainWindow(QMainWindow): main_widget.setLayout(vlayout) self.setCentralWidget(main_widget) - # Copy URL of clipboard - self.clip = QApplication.clipboard() - if self.clip.text().startswith("http"): - self.lbl_url_path.setText(self.clip.text()) - self.fill_combo_formats() - self.read_settings() def on_button_clicked(self): -- cgit v1.2.3