From 3cf39775cd0e988830abd214d5d3ad3dd91578ee Mon Sep 17 00:00:00 2001 From: Dirk H Bartley Date: Tue, 4 Sep 2007 17:35:00 +0000 Subject: [PATCH] This change of the regular expressions should fix any restoretree issues relating to the possibility of a capitol letter being returned from the database as a drive letter. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5451 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/qt-console/restore/restoretree.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bacula/src/qt-console/restore/restoretree.cpp b/bacula/src/qt-console/restore/restoretree.cpp index 6d22c70fe4..e1594a39b9 100644 --- a/bacula/src/qt-console/restore/restoretree.cpp +++ b/bacula/src/qt-console/restore/restoretree.cpp @@ -51,8 +51,8 @@ restoreTree::restoreTree() m_populated = false; dockPage(); - m_winRegExpDrive.setPattern("^[a-z]:/$"); - m_winRegExpPath.setPattern("^[a-z]:/"); + m_winRegExpDrive.setPattern("^[a-zA-Z]:/$"); + m_winRegExpPath.setPattern("^[a-zA-Z]:/"); m_slashregex.setPattern("/"); m_debugCnt = 0; m_debugTrap = true; -- 2.39.5