"Open with" in Qt5 application

Because, in this case argv was read before the QApplication that would handle refsreceived was created

2 Likes

FeatherPad sends the file to the instance via dbus. This is the main reason why opening files doesn’t work. Look at singleton.cpp and everything will become clear.

1 Like