21 Commits

Author SHA1 Message Date
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
10cc3cdbb7 QT6: set C++17 2020-10-03 11:57:55 +02:00
Simon De Backer
4f929ef3c9 QT6: Use the QByteArrayView overload. 2020-10-03 11:57:54 +02: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
7ed71a6312 Fix indentation code 2020-07-15 20:35:23 +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
Kim Kirwan
fe2071c4b2 Remove Execute Permissions from Non-Executables
No source code changes.
Removed execute permissions from 7 files total:
*.pro and *.pri files (4)
main.cpp (2)
*.txt file (1)

Signed-off-by: Kim Kirwan <Kim@KimKirwan.com>
2019-11-11 04:22:22 -06:00
blacksun
9579d3b712 Fix crash with recent change of single application
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5710 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-20 14:32:13 +00: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
scorpio810
008355ffeb Minor fix
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5495 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-26 01:08:33 +00:00
scorpio810
eb36891b84 Decrease QDataStream::Version enum for support Qt version 5.5.x (Ubuntu
Xenial)


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5494 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-24 20:09:23 +00:00
scorpio810
85b0efbc68 Try to fix macOS FTBFS
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5483 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-16 01:59:51 +00:00
scorpio810
4e9fb1b664 Fix FTBFS on cross-compiler for Windows
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5482 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-16 00:21:07 +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