From: Kern Sibbald Date: Sat, 6 Oct 2007 10:36:38 +0000 (+0000) Subject: Fix bat browser for Win32 X-Git-Tag: Release-7.0.0~5542 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=eac553e23d720101cd5dacedcea66cb547d56c3b;p=bacula%2Fbacula Fix bat browser for Win32 git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5731 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/qt-console/restore/restoretree.cpp b/bacula/src/qt-console/restore/restoretree.cpp index 0bec98106e..e999274108 100644 --- a/bacula/src/qt-console/restore/restoretree.cpp +++ b/bacula/src/qt-console/restore/restoretree.cpp @@ -391,7 +391,7 @@ bool restoreTree::addDirectory(QString &m_cwd, QString &newdirr) if (!m_slashTrap) { /* add unix '/' directory first */ - if (m_dirPaths.empty() && isWin32Path(fullPath)) { + if (m_dirPaths.empty() && !isWin32Path(fullPath)) { m_slashTrap = true; QTreeWidgetItem *item = new QTreeWidgetItem(directoryTree); QString text("/");