mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-22 22:21:09 -04:00
fixed some MessagesBox's to display a default Window Icon
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3140 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
b1c838d991
commit
6d3db4ae66
1 changed files with 9 additions and 10 deletions
|
@ -128,7 +128,7 @@ void StartDialog::loadPerson()
|
||||||
if (pgpidx < 0)
|
if (pgpidx < 0)
|
||||||
{
|
{
|
||||||
/* Message Dialog */
|
/* Message Dialog */
|
||||||
QMessageBox::warning ( NULL,
|
QMessageBox::warning ( this,
|
||||||
"Load Person Failure",
|
"Load Person Failure",
|
||||||
"Missing PGP Certificate",
|
"Missing PGP Certificate",
|
||||||
QMessageBox::Ok);
|
QMessageBox::Ok);
|
||||||
|
@ -160,7 +160,7 @@ void StartDialog::loadCertificates()
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* some error msg */
|
/* some error msg */
|
||||||
QMessageBox::warning ( NULL,
|
QMessageBox::warning ( this,
|
||||||
tr("Login Failure"),
|
tr("Login Failure"),
|
||||||
tr("Maybe password is wrong"),
|
tr("Maybe password is wrong"),
|
||||||
QMessageBox::Ok);
|
QMessageBox::Ok);
|
||||||
|
@ -171,16 +171,15 @@ void StartDialog::loadCertificates()
|
||||||
|
|
||||||
void StartDialog::on_labelProfile_linkActivated(QString link)
|
void StartDialog::on_labelProfile_linkActivated(QString link)
|
||||||
{
|
{
|
||||||
QMessageBox::StandardButton sb = QMessageBox::question ( NULL,
|
|
||||||
tr("Create a New Profile"),
|
|
||||||
tr("This will generate a new Profile\n Are you sure you want to continue"),
|
|
||||||
(QMessageBox::Yes | QMessageBox::No));
|
|
||||||
|
|
||||||
if (sb == QMessageBox::Yes)
|
if ((QMessageBox::question(this, tr("Create a New Profile"),tr("This will generate a new Profile\n Are you sure you want to continue?"),QMessageBox::Yes|QMessageBox::No, QMessageBox::Yes))== QMessageBox::Yes)
|
||||||
{
|
{
|
||||||
reqNewCert = true;
|
reqNewCert = true;
|
||||||
close();
|
close();
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
return;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void StartDialog::on_labelInfo_linkActivated(QString link)
|
void StartDialog::on_labelInfo_linkActivated(QString link)
|
||||||
|
@ -202,7 +201,7 @@ void StartDialog::notSecureWarning() {
|
||||||
|
|
||||||
/* some error msg */
|
/* some error msg */
|
||||||
if(ui.autologin_checkbox->isChecked()){
|
if(ui.autologin_checkbox->isChecked()){
|
||||||
QMessageBox::warning ( NULL,
|
QMessageBox::warning ( this,
|
||||||
tr("Insecure"),
|
tr("Insecure"),
|
||||||
tr("Auto Login is not so much secure:\n - Your SSL certificate will be stored unprotected. \n - Your PGP key will however not be stored.\nThis choice be reverted in settings."),
|
tr("Auto Login is not so much secure:\n - Your SSL certificate will be stored unprotected. \n - Your PGP key will however not be stored.\nThis choice be reverted in settings."),
|
||||||
QMessageBox::Ok);
|
QMessageBox::Ok);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue