Skip to content

Commit

Permalink
remove Ctrl+Q
Browse files Browse the repository at this point in the history
  • Loading branch information
artemanufrij committed Nov 17, 2020
1 parent 5a4f114 commit 69f7942
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/Application.vala
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,6 @@ namespace Webpin {
construct {
this.flags |= GLib.ApplicationFlags.HANDLES_OPEN;
this.flags |= ApplicationFlags.HANDLES_COMMAND_LINE;

var action_quit = new SimpleAction ("quit", null);
add_action (action_quit);
string[] accel_quit = {"<Control>q"};
set_accels_for_action ("app.quit", accel_quit);
action_quit.activate.connect (
() => {
if (mainwindow != null) {
mainwindow.destroy ();
}
});

create_cache_folders ();
}

Expand Down

0 comments on commit 69f7942

Please sign in to comment.