Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add socket to enforce a single instance #164

Closed
wants to merge 3 commits into from
Closed

Add socket to enforce a single instance #164

wants to merge 3 commits into from

Conversation

BoltsJ
Copy link

@BoltsJ BoltsJ commented Apr 27, 2016

This PR adds a QLocalServer to the launcher. When a new instance starts, it attempts to connect. If it successfully connects, the running instance will show the main window and the new instance will close without doing anything.

Fixes #23

Joseph R. Nosie added 3 commits April 27, 2016 09:08
Uses QLocalServer to listen for new instances starting. If a new
instance successfully connects to the running instance, the new instance
quits and the existing instance will show the main window.

Future improvements could allow a remote app to control the running
instance, e.g send a command to show the settings or quit.

Fixes #23
@BoltsJ BoltsJ closed this Apr 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant