I use QDir::exists
to check directories. However, when the checked directory name (string) points to mapped network directory which is not available, then the function takes pretty long (up to 10secs and longer) to return.
How could I realize a shorter timeout? Or is there anything better to check?