]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix win32 build
authorKern Sibbald <kern@sibbald.com>
Sat, 13 Nov 2010 16:42:08 +0000 (17:42 +0100)
committerEric Bollengier <eric@eb.homelinux.org>
Thu, 18 Nov 2010 17:45:38 +0000 (18:45 +0100)
bacula/src/qt-console/bat.pro.mingw32.in
bacula/src/qt-console/restore/brestore.cpp

index 26f5e010088afac8d72638661ce8d1553ca30835..89c835d84a488ed327b28003067bbe0fdb50d369 100644 (file)
@@ -25,7 +25,7 @@ cross-win32 {
   LIBS       +=  -mwindows -L../win32/release32 -lbacula
 }
 !cross-win32 {
-  LIBS        += -L../lib -lbac @OPENSSL_LIBS@
+  LIBS        += -L../lib -lbac -L../findlib -lbacfind @OPENSSL_LIBS@
 }
 
 qwt {
@@ -46,7 +46,7 @@ FORMS += relabel/relabel.ui
 FORMS += mount/mount.ui     
 FORMS += console/console.ui 
 FORMS += restore/restore.ui restore/prerestore.ui restore/brestore.ui
-FORMS += restore/restoretree.ui                                      
+FORMS += restore/runrestore.ui restore/restoretree.ui                                      
 FORMS += run/run.ui run/runcmd.ui run/estimate.ui run/prune.ui       
 FORMS += select/select.ui select/textinput.ui                        
 FORMS += medialist/medialist.ui mediaedit/mediaedit.ui joblist/joblist.ui
index c149090b276e826746a31e3a9fb24847cb90ffca..84e5bea4e443d5b6a65656401df723fd56e554e7 100644 (file)
@@ -153,8 +153,8 @@ void bRestore::displayFiles(int64_t pathid, QString path)
    QStringList fieldlist;
    struct stat statp;
    int32_t LinkFI;
-   int nb;
-   int row=0;
+   int nb = 0;
+   int row = 0;
    Freeze frz_lst(*FileList); /* disable updating*/
    Freeze frz_rev(*FileRevisions); /* disable updating*/
    FileList->clearContents();