UI: removed outdated options, improved;

This commit is contained in:
Oleg Agafonov 2019-04-27 12:22:19 +04:00
parent 8ba38c90a5
commit f238118c87
3 changed files with 298 additions and 386 deletions

View file

@ -319,10 +319,6 @@ public class MageFrame extends javax.swing.JFrame implements MageClient {
setConnectButtonText(NOT_CONNECTED_TEXT);
SwingUtilities.invokeLater(() -> {
disableButtons();
if (PreferencesDialog.getCachedValue(PreferencesDialog.KEY_CARD_IMAGES_CHECK, "false").equals("true")) {
checkForNewImages();
}
updateMemUsageTask.execute();
LOGGER.info("Client start up time: " + ((System.currentTimeMillis() - startTime) / 1000 + " seconds"));
if (autoConnect()) {
@ -331,7 +327,6 @@ public class MageFrame extends javax.swing.JFrame implements MageClient {
connectDialog.showDialog();
}
setWindowTitle();
});
if (SystemUtil.isMacOSX()) {
@ -577,10 +572,6 @@ public class MageFrame extends javax.swing.JFrame implements MageClient {
menu.show(component, 0, component.getHeight());
}
private void checkForNewImages() {
// Removed TODO: Remove related pref code
}
public static void setActive(MagePane frame) {
// Always hide not hidden popup window or enlarged card view if a frame is set to active
try {