From 3c0d155bf676437a9b86d03e388cc5eb8edb1a00 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sat, 13 Nov 2010 17:42:08 +0100 Subject: [PATCH] Fix win32 build --- bacula/src/qt-console/bat.pro.mingw32.in | 4 ++-- bacula/src/qt-console/restore/brestore.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bacula/src/qt-console/bat.pro.mingw32.in b/bacula/src/qt-console/bat.pro.mingw32.in index 26f5e01008..89c835d84a 100644 --- a/bacula/src/qt-console/bat.pro.mingw32.in +++ b/bacula/src/qt-console/bat.pro.mingw32.in @@ -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 diff --git a/bacula/src/qt-console/restore/brestore.cpp b/bacula/src/qt-console/restore/brestore.cpp index c149090b27..84e5bea4e4 100644 --- a/bacula/src/qt-console/restore/brestore.cpp +++ b/bacula/src/qt-console/restore/brestore.cpp @@ -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(); -- 2.39.5