~ubuntu-branches/ubuntu/lucid/mythplugins/lucid

« back to all changes in this revision

Viewing changes to mythvideo/mythvideo/main.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Mario Limonciello
  • Date: 2009-08-16 00:44:19 UTC
  • mfrom: (1.1.24 upstream)
  • Revision ID: james.westby@ubuntu.com-20090816004419-ftlyfcl4dh08uwrn
Tags: 0.21.0+fixes212161-0ubuntu1
* New upstream -fixes snapshot (212161)
* debian/rules:
  - Parse svn rev # from debian/changelog

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
/////////////////////////////////////////////////////////////////////
13
13
 
14
14
#include <qapplication.h>
 
15
#include <qdir.h>
15
16
 
16
17
#include <mythtv/mythcontext.h>
17
18
#include <mythtv/lcddevice.h>
243
244
 
244
245
    void startDVDRipper()
245
246
    {
 
247
        // MTD could check this and log an error, 
 
248
        // but informing the user here/now is probably better 
 
249
        QString ripDir = gContext->GetSetting("DVDRipLocation"); 
 
250
        if (ripDir.length() && !QDir(ripDir).exists()) 
 
251
            MythPopupBox::showOkPopup(
 
252
                gContext->GetMainWindow(), "",
 
253
                QObject::tr("No directory %1 - DVD importing will fail") 
 
254
                .arg(ripDir));
 
255
 
246
256
        QString dvd_device = gDVDdevice;
247
257
 
248
258
        if (dvd_device.isNull())