diff src/name/blackcap/clipman/PasteboardQueue.kt @ 30:0e88c6bed11e

Remove the troublesome delete command(s).
author David Barts <n5jrn@me.com>
date Wed, 29 Jan 2020 21:56:12 -0800
parents c4f53bc01732
children 0c6c18a733b7
line wrap: on
line diff
--- a/src/name/blackcap/clipman/PasteboardQueue.kt	Wed Jan 29 14:36:16 2020 -0800
+++ b/src/name/blackcap/clipman/PasteboardQueue.kt	Wed Jan 29 21:56:12 2020 -0800
@@ -67,16 +67,6 @@
     }
 
     /**
-     * Delete something from the queue.
-     * @param object to delete
-     */
-    @Synchronized fun delete(item: QueueItem) {
-        if (queue.remove(item)) {
-            parent.validate()
-        }
-    }
-
-    /**
      * Find and highlight the next occurrence of the specified string
      * @param string to search
      * @param whether to search backwards (default forwards)