[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: QSettings value type=int: big positive numbers converted in negative numbers
From: Baz Walter <bazwal () gmail ! com>
Date: 2024-04-17 8:22:24
Message-ID: 74d2f269-7425-40e0-9312-d73440acefe2 () gmail ! com
[Download RAW message or body]
On 17/04/2024 08:15, Gottfried Müller wrote:
> Thank you for the answers. I checked both solutions (omit the type
> argument and the type='qint64'). The note of "not safe" was the argument
> against the qint64 solution.
>
> Gottfried
Hello Gottfried
Just to be clear: my answer was that it's not safe to *omit* the argument. On some \
platforms, omitting the type argument will return a string instead of an int. So \
it's better to use quint64/qint64 if you can.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic