#NEWLINE# def showDetails( self ) : #NEWLINE# #INDENT# '\n        Shows the error details.\n        ' #NEWLINE# msg = self . currentItem ( ) . data ( QtCore . Qt . UserRole ) #NEWLINE# desc = msg . description #NEWLINE# desc = desc . replace ( '\r\n' , '\n' ) . replace ( '\r' , '\n' ) #NEWLINE# desc = desc . replace ( '\n' , '<br/>' ) #NEWLINE# QtWidgets . QMessageBox . information ( self , _ ( 'Message details' ) , ( _ ( '<p><b>Description:</b><br/>%s</p>\n<p><b>File:</b><br/>%s</p>\n<p><b>Line:</b><br/>%d</p>\n            ' ) % ( desc , msg . path , ( msg . line + 1 ) ) ) )