I made a text editor and add the QCoreApplication::arguments() to get the arguments.

When a double click in a .txt file , ok , the text editor opens , no problem , but when I double click in a attach file (.txt) in the outlook the text editor opens but do not bring the text inside ?

What is wrong ?