diff options
author | Jesús <heckyel@hyperbola.info> | 2019-12-23 20:34:36 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2019-12-23 20:34:36 -0500 |
commit | 25136b3cc2da63a17f34fb97fe660f69bc5dbd6b (patch) | |
tree | 271a3af36f90cc2892f129d28e645db21aa1a9ca | |
parent | 272e05503050750256f1c284aeeb16fee82b822b (diff) | |
download | hypervideo-gui-25136b3cc2da63a17f34fb97fe660f69bc5dbd6b.tar.lz hypervideo-gui-25136b3cc2da63a17f34fb97fe660f69bc5dbd6b.tar.xz hypervideo-gui-25136b3cc2da63a17f34fb97fe660f69bc5dbd6b.zip |
Remove QClipboard, it is better for the user to manually add the URL
-rw-r--r-- | hypervideo_gui/main_ui.py | 8 |
1 files changed, 1 insertions, 7 deletions
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): |