File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -349,7 +349,7 @@ private void addMenuItems() {
349349 componentList .add (aboutDialog );
350350
351351 if (SystemUtilities .isMac ()) {
352- MacUtilities .registerUrlHandler ();
352+ MacUtilities .registerUriHandler ();
353353 MacUtilities .registerAboutDialog (aboutDialog );
354354 MacUtilities .registerQuitHandler (this );
355355 }
Original file line number Diff line number Diff line change 2424import java .awt .*;
2525import java .awt .event .ActionEvent ;
2626import java .awt .event .ActionListener ;
27- import java .io .IOException ;
28- import java .io .PrintWriter ;
2927import java .lang .reflect .Field ;
3028import java .net .URI ;
3129import java .nio .file .Files ;
@@ -59,7 +57,7 @@ public static void registerAboutDialog(Dialog aboutDialog) {
5957 });
6058 }
6159
62- public static void registerUrlHandler () {
60+ public static void registerUriHandler () {
6361 Desktop .getDesktop ().setOpenURIHandler (e -> {
6462 // TODO: Not working. Why?
6563 // TODO: Filter for "qz:launch"
You can’t perform that action at this time.
0 commit comments