Changeset 867747a


Ignore:
Timestamp:
08/02/13 08:50:21 (16 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1
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.

Location:
src-qt4/pc-softwaremanager
Files:
3 deleted
3 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 
  • src-qt4/pc-softwaremanager/mainUI.h

    rc71b68c r867747a  
    2727#include "largeItemWidget.h" 
    2828#include "smallItemWidget.h" 
    29 #include "ErrorDialog.h" 
    3029 
    3130namespace Ui { 
  • src-qt4/pc-softwaremanager/pc-softwaremanager.pro

    r74c359f r867747a  
    1616          pbiDBAccess.h \ 
    1717          processManager.h \ 
    18           configDialog.h \ 
    19           ErrorDialog.h 
     18          configDialog.h  
    2019 
    2120SOURCES += main.cpp \ 
     
    2423         pbiDBAccess.cpp \ 
    2524         processManager.cpp \ 
    26          configDialog.cpp \ 
    27          ErrorDialog.cpp 
     25         configDialog.cpp  
    2826 
    2927RESOURCES += SoftwareManager.qrc 
    3028 
    3129FORMS   = mainUI.ui \ 
    32         configDialog.ui \ 
    33         ErrorDialog.ui 
     30        configDialog.ui  
    3431 
    3532TARGET  = pc-softwaremanager 
Note: See TracChangeset for help on using the changeset viewer.