@ -72,7 +72,9 @@ class Window(QtWidgets.QMainWindow):
self . ui . prev_unknown_image_button . clicked . connect ( self . on_prev_unknown_image_clicked )
self . ui . next_unknown_image_button . clicked . connect ( self . on_next_unknown_image_clicked )
self . ui . delete_button . clicked . connect ( self . on_delete_image_clicked )
self . ui . link_label . linkActivated . connect ( self . on_link_label_activated )
self . ui . image_author_label . linkActivated . connect ( self . on_image_author_label_activated )
self . ui . presence_docker_button . clicked . connect ( self . toggle_presence_docker )
@ -1046,3 +1048,7 @@ class Window(QtWidgets.QMainWindow):
def on_link_label_activated ( self , link : str ) :
print ( " Source link activated! " , link )
QDesktopServices . openUrl ( QUrl ( link ) )
def on_image_author_label_activated ( self , link : str ) :
print ( " Image author link activated! " , link )
QDesktopServices . openUrl ( QUrl ( link ) )