Mercurial > cgi-bin > hgweb.cgi > JpegWasher
diff src/name/blackcap/exifwasher/Osdep.kt.mac.osdep @ 6:aafc9c127c7b
Fix many bugs; get settings (apparently) working.
author | David Barts <n5jrn@me.com> |
---|---|
date | Thu, 09 Apr 2020 22:29:48 -0700 |
parents | ba5dc14652da |
children | 0a106e9b91b4 |
line wrap: on
line diff
--- a/src/name/blackcap/exifwasher/Osdep.kt.mac.osdep Thu Apr 09 18:20:34 2020 -0700 +++ b/src/name/blackcap/exifwasher/Osdep.kt.mac.osdep Thu Apr 09 22:29:48 2020 -0700 @@ -4,11 +4,10 @@ package name.blackcap.exifwasher import com.apple.eawt.AboutHandler -import com.apple.eawt.Application import com.apple.eawt.PreferencesHandler fun setMacMenus() { - Application.getApplication().run { + com.apple.eawt.Application.getApplication().run { setAboutHandler(AboutHandler { showAboutDialog() }) setPreferencesHandler( PreferencesHandler { Application.settingsDialog.setVisible(true) })