Changeset 24f4449


Ignore:
Timestamp:
02/26/14 10:54:43 (6 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, releng/10.0.1, releng/10.0.2, releng/10.0.3
Children:
a4b4e3d
Parents:
7e41a70
Message:

Add a message/verificationn window when the maintainer button is clicked.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/pc-softwaremanager/mainUI.cpp

    r7e41a70 r24f4449  
    493493  QString email = PBI->PBIInfo(appID, QStringList() << "maintainer").join(""); 
    494494  if(email.isEmpty()){ return; } 
     495  //Verify that the user wants to launch their email client 
     496  if(QMessageBox::Yes != QMessageBox::question(this, tr("Launch Email Client?"), tr("Do you want to try launching your default email client? \n You must have this setup within your current desktop environment for this to work properly. If not, you can send an email to the address below manually.")+"\n\n"+email, QMessageBox::Yes | QMessageBox::No, QMessageBox::Yes) ){ 
     497    return; 
     498  } 
    495499  qDebug() << "Launching email to:" << email; 
    496500  //Get the command from the action 
Note: See TracChangeset for help on using the changeset viewer.