]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix bat browser for Win32
authorKern Sibbald <kern@sibbald.com>
Sat, 6 Oct 2007 10:36:38 +0000 (10:36 +0000)
committerKern Sibbald <kern@sibbald.com>
Sat, 6 Oct 2007 10:36:38 +0000 (10:36 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5731 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/qt-console/restore/restoretree.cpp

index 0bec98106ee1cc68e76988d0ba08e190266313b4..e999274108eb9b0aac6b9e886262d6788da297f0 100644 (file)
@@ -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("/");