Skip to content

Commit bb37ff2

Browse files
committed
close labsquare#88
1 parent 29426ed commit bb37ff2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

analysis/analysisrunner.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ void AnalysisRunner::run()
128128
}
129129
else
130130
{
131-
reader = new FastqReader(rawFile);
131+
reader = new FastqReader(uncompressFile.data());
132132
}
133133
mStartTime.start();
134134

@@ -256,7 +256,7 @@ QString AnalysisRunner::humanFileSize() const
256256
{
257257
int unit;
258258
const char *units [] = {" Bytes", " kB", " MB", " GB"};
259-
qint64 size = fileSize(); // or whatever
259+
float size = float(fileSize()); // or whatever
260260

261261
for (unit=-1; (++unit<3) && (size>1023); size/=1024);
262262

0 commit comments

Comments
 (0)