13 Commits

Author SHA1 Message Date
Laurent Trinques
7c3bde9118 Update SingleApplication to upstream master 2021-02-28 18:05:18 +01:00
Simon De Backer
cffec76018 Fix warning: implicit conversion from 'int' to 'float'
changes value from 2147483647 to 2147483648
/* The largest number rand will return (same as INT_MAX).  */
#define	RAND_MAX	2147483647

(static_cast<float>(quint32) / int * 8)
why cast an int to a float to then divide by an int?

just divide the int by an int.
2020-12-05 08:24:35 +01:00
Simon De Backer
36dbe65457 Add TODO compile var + Fix doxygen issue
You can make your code warn on compile time for the TODO's
In order to do so, uncomment the following line. in pro file
DEFINES += TODO_LIST
2020-09-24 17:01:33 +02:00
Simon De Backer
d4ee161c07 Mod doc set style de same 2020-08-16 11:19:36 +02:00
Simon De Backer
fe4552200b Add compiler message @TODO 2020-07-19 22:06:42 +02:00
Laurent Trinques
350e7e5233 Fix indentation code 2020-07-15 20:21:59 +02:00
Laurent Trinques
496b8f302a Fix FTBFS on Ubuntu 18.04 2020-06-14 08:26:52 +02:00
Laurent Trinques
247a14f7aa Fix Unbutu 18.04 FTFS 2020-06-12 07:22:18 +02:00
Simon De Backer
2570108caf fix deprecated warning qsrand
This function is obsolete.

Use QRandomGenerator instead.
This class was introduced in Qt 5.10.
2020-06-12 05:52:50 +02:00
Simon De Backer
0611fe2798 fix deprecated warning QTime::start()
Use
QElapsedTimer::QElapsedTimer()
instead.
This function was introduced in Qt 5.4.
2020-05-29 14:55:37 +02:00
Laurent Trinques
5e63ac316c Update SingleApplication to latest upstream sources 2020-01-08 14:27:52 +01:00
scorpio810
c6d537a5d5 Update singleApplication.
See : https://github.com/itay-grudev/SingleApplication


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5708 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-19 15:25:48 +00:00
blacksun
2ba5be7ecd Replace qetsingleapplication by singleApplication.
See : https://github.com/itay-grudev/SingleApplication


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5481 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-15 12:45:55 +00:00