Ignore:
Timestamp:
2018-08-13T02:18:54+02:00 (15 months ago)
Author:
Don-vip
Message:

see #15229 - deprecate Main.parent and Main itself

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/audio/AudioUtil.java

    r12846 r14153  
    1515import javax.swing.JOptionPane;
    1616
    17 import org.openstreetmap.josm.Main;
     17import org.openstreetmap.josm.gui.MainApplication;
    1818import org.openstreetmap.josm.spi.preferences.Config;
    1919import org.openstreetmap.josm.tools.Logging;
     
    6666        Logging.error(msg);
    6767        if (!GraphicsEnvironment.isHeadless()) {
    68             JOptionPane.showMessageDialog(Main.parent,
     68            JOptionPane.showMessageDialog(MainApplication.getMainFrame(),
    6969                    "<html><p>" + msg + "</p></html>",
    7070                    tr("Error playing sound"), JOptionPane.ERROR_MESSAGE);
Note: See TracChangeset for help on using the changeset viewer.