]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/qt-console/main.cpp
Update version + date
[bacula/bacula] / bacula / src / qt-console / main.cpp
index baf0f625b1c2328f7e7e26c104b66f747edd80e1..95a9ba295f459d1a0236b8968e8adcf7f88ad5ac 100644 (file)
@@ -1,7 +1,7 @@
 /*
    Bacula® - The Network Backup Solution
 
-   Copyright (C) 2007-2011 Free Software Foundation Europe e.V.
+   Copyright (C) 2007-2012 Free Software Foundation Europe e.V.
 
    The main author of Bacula is Kern Sibbald, with contributions from
    many others, a complete list can be found in the file AUTHORS.
 #include <QTranslator>
 
 /*
- * We need Qt version 4.6.2 or later to be able to comple correctly
+ * We need Qt version 4.7.4 or later to be able to comple correctly
  */
 #if QT_VERSION < 0x040602
 #error "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
-#error "You need Qt version 4.6.2 or later to build Bat"
+#error "You need Qt version 4.7.4 or later to build Bat"
 #error "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
 #endif
 
@@ -168,6 +168,9 @@ int main(int argc, char *argv[])
    if (!check_resources()) {
       Emsg1(M_ERROR_TERM, 0, _("Please correct configuration file: %s\n"), configfile);
    }
+   if (test_config) {
+      exit(0);
+   }
 
    mainWin = new MainWin;
    mainWin->show();