QString aPath = dirPath;
if ( !QDir(aPath).exists() ) {
aPath = QDir::homeDirPath();
- /* SUIT_MessageBox::error1(this,
- tr("ERR_ERROR"),
- tr("ERR_DIR_NOT_EXIST").arg(dirPath),
- tr("BUT_OK"));*/
-
+ SUIT_MessageBox::error1(this,
+ tr("ERR_ERROR"),
+ tr("ERR_DIR_NOT_EXIST").arg(dirPath),
+ tr("BUT_OK"));
}
- // else {
+ else
processPath(aPath);
- // }
}
/*!
Called when user presses "Add" button - adds current directory to quick directory