Skip to content

Commit

Permalink
minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dhuson committed Mar 3, 2024
1 parent a7b37a0 commit 3e66196
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 106 deletions.
3 changes: 2 additions & 1 deletion src/main/java/splitstree6/window/MainWindow.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
import jloda.fx.selection.SetSelectionModel;
import jloda.fx.util.MemoryUsage;
import jloda.fx.util.ProgramProperties;
import jloda.fx.util.StatementFilter;
import jloda.fx.window.IMainWindow;
import jloda.fx.window.MainWindowManager;
import jloda.util.Basic;
Expand Down Expand Up @@ -88,7 +89,7 @@ public MainWindow() {

{
var fxmlLoader = new FXMLLoader();
try (var ins = StatementFilter.applyMobileFXML(Objects.requireNonNull(MainWindowController.class.getResource("MainWindow.fxml")).openStream())) {
try (var ins = StatementFilter.applyMobileFXML(Objects.requireNonNull(MainWindowController.class.getResource("MainWindow.fxml")).openStream(), SplitsTree6.isDesktop())) {
fxmlLoader.load(ins);
root = fxmlLoader.getRoot();
controller = fxmlLoader.getController();
Expand Down
105 changes: 0 additions & 105 deletions src/main/java/splitstree6/window/StatementFilter.java

This file was deleted.

0 comments on commit 3e66196

Please sign in to comment.