Commit f7683c3e authored by Bart van der Velden's avatar Bart van der Velden

- Added extra tip to INSTALL

- Made output of console app a bit prettier (#53)
parent 16450630
......@@ -28,6 +28,7 @@ On openSUSE:
- Build the software: make
- Run the software: ./musiccollection
- Sometimes the Qt5 cmake files cannot be found. In that case run something similar to: cmake -DCMAKE_PREFIX_PATH=/opt/Qt/5.2.0/gcc_64 ../musiccollection
- To build a debug version: cmake -DCMAKE_BUILD_TYPE:STRING=Debug ../MusicCollection
- After that: gdb musiccollection
......
......@@ -277,11 +277,11 @@ int main(int argc, char **argv)
// Print summaries
for (auto it = dirScans.begin(); it != dirScans.end(); ++it)
{
cout << "Summary for " << (*it)->StartDir() << "\n";
cout << "Total number of directories: " << (*it)->NumDirs() << "\n";
cout << "Total number of files : " << (*it)->NumFiles() << "\n";
cout << "Summary for " << (*it)->StartDir() << "\n";
cout << "Total number of directories : " << (*it)->NumDirs() << "\n";
cout << "Total number of files : " << (*it)->NumFiles() << "\n";
string totalSize = mc::utils::FormatSize((*it)->TotalSize(), 0);
cout << "Total size of all files : " << totalSize << "\n\n";
cout << "Total size of all files : " << totalSize << "\n\n";
}
// Show spent time
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment