Andre Poenitz wrote:
On Tue, Dec 11, 2007 at 08:26:41AM +0100, Abdelrazak Younes wrote:
Pavel Sanda wrote:
i remember many problems with selection wrt speed issues etc - is empty()
used often
so we have to remember text_selection_empty_ variable? or are there other
reasons why we dont ask directly
qApp->clipboard()->text(QClipboard::Selection).isEmpty() ?
The only reason was speed issue.
"only". Retrieving the selection is _very_ expensive. It's something we
do not want to for every keystroke.
I meant "only" as "unique" :-)
Abdel.