From de5d56b71ccf35d6c4ff9dc57f84f24a8e4cc442 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sat, 6 Oct 2007 10:36:38 +0000 Subject: [PATCH] Fix bat browser for Win32 git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5731 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/qt-console/restore/restoretree.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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("/"); -- 2.39.5