unsafe fn open_link(&self) {
        let indexes = self.filter.map_selection_to_source(&self.list.selection_model().selection()).indexes();
        let index = indexes.at(0);
        let link = self.model.data_2a(index, ROLE_URL).to_string();

        if !link.is_empty() {
            QDesktopServices::open_url(&QUrl::new_1a(&link));
        }
    }
/// This function tries to open a link associated with the clicked item on the list.
This function tries to open a link associated with the clicked item on the list.
This function tries to open a link associated with the clicked item on the list .
unsafe fn open_link(&self) {
        let indexes = self.filter.map_selection_to_source(&self.list.selection_model().selection()).indexes();
        let index = indexes.at(0);
        let link = self.model.data_2a(index, ROLE_URL).to_string();
        if !link.is_empty() {
            QDesktopServices::open_url(&QUrl::new_1a(&link));
        }
    }
unsafe fn open_link ( & self ) { let indexes = self . filter . map_selection_to_source ( & self . list . selection_model ( ) . selection ( ) ) . indexes ( ) ; let index = indexes . at ( 0 ) ; let link = self . model . data_2a ( index , ROLE_URL ) . to_string ( ) ; if ! link . is_empty ( ) { QDesktopServices :: open_url ( & QUrl :: new_1a ( & link ) ) ; } }
This function tries to open a link associated with the clicked item on the list.
This function tries to open a link associated with the clicked item on the list .
&self
&self