Cpp: Provide size-hint for seekable and mem data
authorAndre Heinecke <aheinecke@intevation.de>
Fri, 12 Aug 2016 14:51:13 +0000 (16:51 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Fri, 12 Aug 2016 14:51:13 +0000 (16:51 +0200)
commitdf7bbf5a66576a5a320b54c8f6ad52bc84f0e833
tree7da6eaab9c1593649aa9be51af8ba0020cb69b21
parentfe1e8e71aa18b4ac6471292b2894b8859f42f7c8
Cpp: Provide size-hint for seekable and mem data

* lang/cpp/src/data.cpp (GpgME::Data::Data): Set size-hint for
mem and DataProvider based Data.

--
This fixes the case that QGpgME did not have a total value for
progress as the size was unknown.
lang/cpp/src/data.cpp