Mercurial > cgi-bin > hgweb.cgi > ClipMan
diff src/name/blackcap/clipman/PasteboardQueue.kt @ 41:33fbe3a78d84
Got the settings stuff compiling (untested).
author | David Barts <n5jrn@me.com> |
---|---|
date | Sat, 08 Feb 2020 22:10:01 -0700 |
parents | c803a2c89ea0 |
children | 88066346f129 |
line wrap: on
line diff
--- a/src/name/blackcap/clipman/PasteboardQueue.kt Wed Feb 05 16:47:25 2020 -0800 +++ b/src/name/blackcap/clipman/PasteboardQueue.kt Sat Feb 08 22:10:01 2020 -0700 @@ -44,11 +44,11 @@ * than or equal to zero means an unlimited size. */ var maxSize: Int - get() { return _maxSize } - @Synchronized set(value) { - _maxSize = value - truncate() - } + get() { return _maxSize } + @Synchronized set(value) { + _maxSize = value + truncate() + } /** * Add a QueueItem to the end of the queue.