Selaa lähdekoodia

Fix for core UpdateChcker changes.

pull/422/head
Greg Holmes 9 vuotta sitten
vanhempi
commit
4a19a24748

+ 1
- 2
debug/src/com/dmdirc/addons/debug/commands/ForceUpdate.java Näytä tiedosto

@@ -91,8 +91,7 @@ public class ForceUpdate extends DebugCommand {
91 91
     public void execute(@Nonnull final WindowModel origin,
92 92
             final CommandArguments args, final CommandContext context) {
93 93
         if (globalConfig.getOptionBool("updater", "enable")) {
94
-            UpdateChecker.checkNow(updateManager, identityController, eventBus,
95
-                    "Forced update checker");
94
+            UpdateChecker.checkNow(updateManager, identityController, "Forced update checker");
96 95
         } else {
97 96
             sendLine(origin, args.isSilent(), FORMAT_ERROR, "Update checking is "
98 97
                     + "currently disabled.  You can enable it by typing:");

+ 1
- 1
ui_swing/src/com/dmdirc/addons/ui_swing/dialogs/prefs/UpdateConfigPanel.java Näytä tiedosto

@@ -198,7 +198,7 @@ public class UpdateConfigPanel extends JPanel implements ActionListener,
198 198
         if (enable == e.getSource()) {
199 199
             checkNow.setEnabled(enable.isSelected());
200 200
         } else {
201
-            UpdateChecker.checkNow(updateManager, identityController, eventBus);
201
+            UpdateChecker.checkNow(updateManager, identityController);
202 202
         }
203 203
     }
204 204
 

Loading…
Peruuta
Tallenna