[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #57220] Ctrl+C does not interrupt loops or dem

From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #57220] Ctrl+C does not interrupt loops or demo sessions anymore
Date: Wed, 13 Nov 2019 14:14:05 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Follow-up Comment #7, bug #57220 (project octave):

I guess I'm confused about what the intent of that bit of code is.  To avoid
more confusion in the future, can we explain it clearly in the comments

Also, it doesn't seem correct to me to convert a key sequence to a string and
then back to a key sequence.  That's why I made the change to use the default
value for sc_main_edit_copy (QKeySequence::Copy) and extract a QKeySequence
from the QVariant object returned by the settings->value function.

If you take an arbitrary QKeySequence value, store it in a QVariant object,
extract it as a string, then convert it to a QKeySequence, is it guaranteed
that you will recover the original QKeySequence value?  Even if that is true,
it seems somewhat strange to me to do that series of conversions.


Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]