Sfoglia il codice sorgente

Merge pull request #422 from greboid/dev5

Fix for core UpdaterChecker changes.
pull/423/head
Chris Smith 9 anni fa
parent
commit
1301156754

+ 1
- 2
debug/src/com/dmdirc/addons/debug/commands/ForceUpdate.java Vedi File

@@ -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 Vedi File

@@ -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…
Annulla
Salva