#NEWLINE# def eventFilter( self , obj , event ) : #NEWLINE# #INDENT# if ( event . type ( ) == QtCore . QEvent . FileOpen ) : #NEWLINE# #INDENT# if ( len ( self . windows ) >= 1 ) : #NEWLINE# #INDENT# self . windows [ 0 ] . set_url ( event . url ( ) . toEncoded ( ) ) #NEWLINE# return True #NEWLINE# #UNINDENT# #UNINDENT# return False