Skip to content

Commit 97f8e34

Browse files
committed
Restore old name to function
1 parent 9750eeb commit 97f8e34

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/qz/common/TrayManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

src/qz/utils/MacUtilities.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424
import java.awt.*;
2525
import java.awt.event.ActionEvent;
2626
import java.awt.event.ActionListener;
27-
import java.io.IOException;
28-
import java.io.PrintWriter;
2927
import java.lang.reflect.Field;
3028
import java.net.URI;
3129
import 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"

0 commit comments

Comments
 (0)