octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #44822] Case-sensitive listdlg's SelectionMode


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #44822] Case-sensitive listdlg's SelectionMode values
Date: Mon, 13 Apr 2015 02:51:04 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15

Follow-up Comment #1, bug #44822 (project octave):

Which is preferred?  In one case "multiple"--in any case arrangement--would be
translated to "Multiple" and sent over the link.  Or, it might be better to
first just translate the user's input word to all lowercase and then perform
tests from there--and use 'mode == "multiple"' in dialog.cc.  That would
simplify the .m file and keep dialog.cc.

In the other case, the mode is a QString, documentation is here:

http://doc.qt.io/qt-4.8/qstring.html

It looks like instead of 'mode == "multiple"', it's a simple matter of using
something like:

mode.compare (&"multiple", Qt::CaseInsensitive)



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44822>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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