Using QtSingleApplication
Posted: Tue Mar 06, 2012 12:46 pm
For smtube, I used QtSingleApplication from , to use only one instance. It also allows to communicate with other instances. It was very easy to use. It would have been very useful for me when I needed something like that for smplayer (but at that time QtSingleApplication was non free).
Now I created an for smplayer, where I removed all the current code for the single instance and use instead QtSingleApplication. The new code is much clearer and shorter. And the user also gets rid of configuring ports and so on.
But it has a disadvantage. Now other applications (like ) won't be able to communicate with smplayer (at least not easily).
Now I created an for smplayer, where I removed all the current code for the single instance and use instead QtSingleApplication. The new code is much clearer and shorter. And the user also gets rid of configuring ports and so on.
But it has a disadvantage. Now other applications (like ) won't be able to communicate with smplayer (at least not easily).