D28378: [kcmkwin/kwindesktop] Fix inability to create more than one row on the "Virtual Desktops" settings page

Eugene Popov <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
epopov added a comment.


  There's no easy way to do this. I can use something like this:
  
    return Number.fromLocaleString(locale, text.match(new RegExp("[" + locale.groupSeparator + "\\d]+")))
  
  But currently, the number of rows is a positive integer in the range [1..20], so we don't need to take into account the locale when parsing it.

REPOSITORY
  R108 KWin

REVISION DETAIL
  https://phabricator.kde.org/D28378

To: epopov, ngraham, zzag, davidedmundson
Cc: kwin, Orage, cacarry, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.