From ade698681bb7d095960f459ba08420bb7a383966 Mon Sep 17 00:00:00 2001 From: Michael Neumann Date: Sun, 16 Aug 2015 16:40:09 +0200 Subject: DragonFly: Sync LOS::Checksums() with FreeBSD --- libLumina/LuminaOS-DragonFly.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/libLumina/LuminaOS-DragonFly.cpp b/libLumina/LuminaOS-DragonFly.cpp index 73815ea0..0dd10b88 100644 --- a/libLumina/LuminaOS-DragonFly.cpp +++ b/libLumina/LuminaOS-DragonFly.cpp @@ -215,7 +215,15 @@ int LOS::batterySecondsLeft(){ //Returns: estimated number of seconds remaining //File Checksums QStringList LOS::Checksums(QStringList filepaths){ //Return: checksum of the input file - return QStringList(); + QStringList info = LUtils::getCmdOutput("md5 \""+filepaths.join("\" \"")+"\""); + for(int i=0; i