]> git.sur5r.net Git - bacula/bacula/commitdiff
This change of the regular expressions should fix any restoretree issues
authorDirk H Bartley <dbartley@schupan.com>
Tue, 4 Sep 2007 17:35:00 +0000 (17:35 +0000)
committerDirk H Bartley <dbartley@schupan.com>
Tue, 4 Sep 2007 17:35:00 +0000 (17:35 +0000)
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

index 6d22c70fe4508b3e454da83dfaa39e1802938d63..e1594a39b9bec92a936fff99a66bf28733108e50 100644 (file)
@@ -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;