Switch to unified view
a/src/qtgui/uiprefs_w.cpp | b/src/qtgui/uiprefs_w.cpp | ||
---|---|---|---|
... |
... |
||
605 | return; |
605 | return; |
606 | } |
606 | } |
607 | } |
607 | } |
608 | 608 | ||
609 | LOGDEB("ExtraDbDial: got: [" << (dbdir) << "]\n" ); |
609 | LOGDEB("ExtraDbDial: got: [" << (dbdir) << "]\n" ); |
610 | path_catslash(dbdir); |
||
611 | bool stripped; |
610 | bool stripped; |
612 | if (!Rcl::Db::testDbDir(dbdir, &stripped)) { |
611 | if (!Rcl::Db::testDbDir(dbdir, &stripped)) { |
613 | QMessageBox::warning(0, "Recoll", |
612 | QMessageBox::warning(0, "Recoll", |
614 | tr("The selected directory does not appear to be a Xapian index")); |
613 | tr("The selected directory does not appear to be a Xapian index")); |
615 | return; |
614 | return; |