diff --git a/retroshare-gui/src/gui/GenCertDialog.cpp b/retroshare-gui/src/gui/GenCertDialog.cpp index d05bbf68c..23f5ed49d 100644 --- a/retroshare-gui/src/gui/GenCertDialog.cpp +++ b/retroshare-gui/src/gui/GenCertDialog.cpp @@ -27,6 +27,8 @@ #include "gui/settings/rsharesettings.h" #include #include +#include + #include /* Define the format used for displaying the date and time */ @@ -139,6 +141,10 @@ void GenCertDialog::genPerson() std::string err_string; ui.no_gpg_key_label->setText(tr("Generating new GPG key, please be patient. Fill in your GPG password when asked.")); ui.no_gpg_key_label->show(); + QMovie *movie = new QMovie(":/images/loader/progress.gif"); + ui.progress_label->setMovie(movie); + movie->start(); + movie->setSpeed(100); // 2x speed ui.name_label->hide(); ui.name_input->hide(); ui.email_label->hide(); diff --git a/retroshare-gui/src/gui/GenCertDialog.h b/retroshare-gui/src/gui/GenCertDialog.h index d5cd5a5c8..71e4f5244 100644 --- a/retroshare-gui/src/gui/GenCertDialog.h +++ b/retroshare-gui/src/gui/GenCertDialog.h @@ -61,6 +61,8 @@ private: /** Loads the saved connectidialog settings */ // void loadSettings(); void loadCertificates(); + + QMovie *movie; /** Qt Designer generated object */ Ui::GenCertDialog ui; diff --git a/retroshare-gui/src/gui/GenCertDialog.ui b/retroshare-gui/src/gui/GenCertDialog.ui index 6cc5e1ac3..c2fa5d3f7 100644 --- a/retroshare-gui/src/gui/GenCertDialog.ui +++ b/retroshare-gui/src/gui/GenCertDialog.ui @@ -1096,6 +1096,13 @@ p, li { white-space: pre-wrap; } + + + + + + + @@ -1122,7 +1129,7 @@ p, li { white-space: pre-wrap; } - Generate New Profil + Generate New Profile