[Qt] allow to execute a callback during splashscreen progress

This commit is contained in:
Jonas Schnelli
2017-06-23 09:32:38 +02:00
parent 90a002ea64
commit 00cb69bc86
4 changed files with 36 additions and 0 deletions
+1
View File
@@ -578,6 +578,7 @@ int main(int argc, char *argv[])
// Need to pass name here as CAmount is a typedef (see http://qt-project.org/doc/qt-5/qmetatype.html#qRegisterMetaType)
// IMPORTANT if it is no longer a typedef use the normal variant above
qRegisterMetaType< CAmount >("CAmount");
qRegisterMetaType< std::function<void(void)> >("std::function<void(void)>");
/// 3. Application identification
// must be set before OptionsModel is initialized or translations are loaded,