@ -72,7 +72,9 @@ class Window(QtWidgets.QMainWindow):
self . ui . prev_unknown_image_button . clicked . connect ( self . on_prev_unknown_image_clicked )
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 . 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 . delete_button . clicked . connect ( self . on_delete_image_clicked )
self . ui . link_label . linkActivated . connect ( self . on_link_label_activated )
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 )
self . ui . presence_docker_button . clicked . connect ( self . toggle_presence_docker )
@ -1045,4 +1047,8 @@ class Window(QtWidgets.QMainWindow):
def on_link_label_activated ( self , link : str ) :
def on_link_label_activated ( self , link : str ) :
print ( " Source link activated! " , link )
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 ) )
QDesktopServices . openUrl ( QUrl ( link ) )