Changeset 7d03cc5


Ignore:
Timestamp:
12/06/13 05:12:35 (11 months ago)
Author:
yurkis <yurkis@…>
Branches:
master, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1
Children:
72acc29, 4f9718b
Parents:
136fa80
Message:

Some additional checks

Location:
src-qt4/pc-updatecenter/dialogs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/pc-updatecenter/dialogs/jailsdialog.ui

    r2b8a19b r7d03cc5  
    77    <x>0</x> 
    88    <y>0</y> 
    9     <width>320</width> 
    10     <height>312</height> 
     9    <width>318</width> 
     10    <height>205</height> 
    1111   </rect> 
    1212  </property> 
  • src-qt4/pc-updatecenter/dialogs/patchsetdialog.cpp

    r136fa80 r7d03cc5  
    3030 
    3131#include <QDebug> 
     32#include <QFile> 
     33#include <QMessageBox> 
    3234 
    3335using namespace pcbsd; 
     
    6466    } 
    6567 
    66     //TODO: Check if file is avail 
    67  
     68    if (!QFile::exists(mFileName)) 
     69    { 
     70        QMessageBox::critical(this, "File not found", tr("File %1 was not found").arg(mFileName)); 
     71        return false; 
     72    } 
    6873 
    6974    // Parse config file 
Note: See TracChangeset for help on using the changeset viewer.