From: Kern Sibbald Date: Sat, 6 Oct 2007 10:36:38 +0000 (+0000) Subject: Fix bat browser for Win32 X-Git-Tag: Release-3.0.0~2390 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=de5d56b71ccf35d6c4ff9dc57f84f24a8e4cc442;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("/");