Ignore:
Timestamp:
08/02/13 08:50:21 (2 years ago)
Author:
Ken Moore <ken@…>
Branches:
master, 9.2-release, enter/10, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1, releng/10.1.1, releng/10.1.2
Children:
b7bad41, 71f823e
Parents:
58b73e1
Message:

Clean up the Appcafe error dialog. Just use the built in Qmessagebox functionality for displaying detailed (but optional) info instead of the custom class I wrote before.

File:
1 edited

Legend:

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

    r2f6ea6c r867747a  
    936936 
    937937void MainUI::slotDisplayError(QString title,QString message,QStringList log){ 
    938   ErrorDialog *dlg = new ErrorDialog(this); 
    939   dlg->setDLGTitle(title); 
    940   dlg->setDLGMessage(message); 
    941   dlg->setDLGLog(log); 
     938  QMessageBox *dlg = new QMessageBox(this); 
     939    dlg->setWindowTitle(title); 
     940    dlg->setText(message); 
     941    dlg->setDetailedText(log.join("\n")); 
    942942  dlg->exec(); 
    943   //QMessageBox::warning(this,title,message+"\n\n"+log.join("\n")); 
    944943} 
    945944 
Note: See TracChangeset for help on using the changeset viewer.