Procházet zdrojové kódy

Fixed possible invalid directory path

Andreas Fetzer před 10 roky
rodič
revize
8aa59d13af
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      Libs/XNAT/Core/ctkXnatSession.cpp

+ 1 - 1
Libs/XNAT/Core/ctkXnatSession.cpp

@@ -90,7 +90,7 @@ ctkXnatSessionPrivate::ctkXnatSessionPrivate(const ctkXnatLoginProfile& loginPro
                                              ctkXnatSession* q)
   : loginProfile(loginProfile)
   , xnat(new ctkXnatAPI())
-  , defaultDownloadDir("")
+  , defaultDownloadDir(".")
   , q(q)
 {
   // TODO This is a workaround for connecting to sites with self-signed