kdeconnect-kde/core
Kai Uwe Broulik 77ad9336b6 [FileTransferJob] Fix division by null and use elapsed timer
When sending multiple files from my phone to my PC, kdeconnectd usually received a SIGFPE.
To get the transfer speed it divides the number of bytes received by the elapsed time which can be zero.

Also, since we're only interested in the time that has elapsed, use QElapsedTimer,
which is exactly for this. QTime::elapsed() also needs to take into account potentially
ocurred timezone or DST changes.

REVIEW: 128861
2016-09-10 22:52:03 +02:00
..
backends Remove debug logs 2016-08-29 11:00:35 +02:00
CMakeLists.txt Added debug function to print a stack trace 2016-06-01 12:43:34 +02:00
core_debug.cpp Fixed build on windows 2016-06-09 02:36:02 +02:00
core_debug.h Added debug function to print a stack trace 2016-06-01 12:43:34 +02:00
daemon.cpp Made a QString const refrence. 2016-07-07 01:09:07 +02:00
daemon.h Reverted change that introduced a crash. 2016-08-03 22:01:04 +02:00
dbushelper.cpp Fix various krazy2 warnings 2015-08-21 22:38:54 +06:00
dbushelper.h Fix various krazy2 warnings 2015-08-21 22:38:54 +06:00
device.cpp Don't return an empty list of supported plugins 2016-09-06 10:53:19 +02:00
device.h Make capabilities static 2016-07-06 17:37:22 +02:00
filetransferjob.cpp [FileTransferJob] Fix division by null and use elapsed timer 2016-09-10 22:52:03 +02:00
filetransferjob.h [FileTransferJob] Fix division by null and use elapsed timer 2016-09-10 22:52:03 +02:00
kdeconnectconfig.cpp Use a new config group so we don't conflict with older versions' config 2016-08-25 18:06:01 +02:00
kdeconnectconfig.h Fixed compilation on Windows 2016-06-20 02:31:55 +02:00
kdeconnectplugin.cpp Naming consistency. Capabilities is the correct name 2016-07-06 15:55:04 +02:00
kdeconnectplugin.h Clean up use of virtual and override keywords 2016-06-20 19:22:29 +02:00
kdeconnectpluginconfig.cpp notifications: allow to configure how to sync desktop notifications 2015-12-05 23:23:22 +01:00
kdeconnectpluginconfig.h Clean up use of virtual and override keywords 2016-06-20 19:22:29 +02:00
Messages.sh Figure out Messages.sh after code refactoring 2014-06-17 18:45:47 +02:00
networkpackage.cpp Make capabilities static 2016-07-06 17:37:22 +02:00
networkpackage.h Remove commented code 2016-07-06 00:59:37 +02:00
networkpackagetypes.h Make capabilities static 2016-07-06 17:37:22 +02:00
pluginloader.cpp Make it compile with Qt < 5.6 2016-08-28 11:19:00 +02:00
pluginloader.h Make capabilities static 2016-07-06 17:37:22 +02:00