[Kwintv] kdenonbeta/kwintv3/qtvision

Dirk Ziegelmeier dirk at ziegelmeier.net
Sun Sep 21 15:44:28 CEST 2003


CVS commit by dziegel: 

CCMAIL: kwintv at mail.kde.org
Display error dialog with a reference to QtVision FAQ if no devices are found.


  M +6 -0      devicewidgetimpl.cpp   1.26


--- kdenonbeta/kwintv3/qtvision/devicewidgetimpl.cpp  #1.25:1.26
@@ -231,4 +231,10 @@ void DeviceWidgetImpl::scanDevices()
     }
     kdDebug() << "Done probing devices." << endl;
+
+    if (_devs.isEmpty()) {
+        KMessageBox::error(0L,
+                           i18n("No devices found.\nFor more information, please read the FAQ at\nhttp://www.kwintv.org"),
+                           i18n("Error: no devices found"));
+    }
 } // scanDevices
 




More information about the kwintv mailing list