]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix Win32 drive display in bat version browser. Fixes bug #961.
authorKern Sibbald <kern@sibbald.com>
Sat, 6 Oct 2007 10:40:13 +0000 (10:40 +0000)
committerKern Sibbald <kern@sibbald.com>
Sat, 6 Oct 2007 10:40:13 +0000 (10:40 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/branches/Branch-2.2@5732 91ce42f0-d328-0410-95d8-f526ca767f89

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

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("/");
index 81fc03299c3b22b5a757210f77bd1b38430edaa4..7c1459b33721be40c8904b6f720d2d83905d7118 100644 (file)
@@ -1,7 +1,10 @@
               Technical notes on version 2.2
 
 General:
+06Oct07
+kes  Fix Win32 drive display in bat version browser. Fixes bug #961.
 05Oct07
+kes  Fix doc issue. This fixes bug #963.
 kes  Fix listing performance problems in bat. Pointed out by 
      Chris Howells.
 ebl  Fix replace on restore. This fixes bug #969