Notification isn't enough what if the device was attached before the app is started. Also notification requires an apple event loop running whereas my app has a qt event loop. Doubt they'd be enough. Also detecting by path is inadequate, especially in the case of the storage card as that may not have any directory structure if it has been inserted for the first time.
|