]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/qt-console/run/estimate.cpp
A bug was introduced in with commit 5727. Restoretree and restore were
[bacula/bacula] / bacula / src / qt-console / run / estimate.cpp
index d3295d741b85fe7642f806df6cb2296460fb3059..f3193a467996c38de2c4b0817c9f46e600aedd4f 100644 (file)
@@ -1,14 +1,14 @@
 /*
    Bacula® - The Network Backup Solution
 
-   Copyright (C) 2007-2007 Free Software Foundation Europe e.V.
+   Copyright (C) 2007-2008 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.
    This program is Free Software; you can redistribute it and/or
    modify it under the terms of version two of the GNU General Public
-   License as published by the Free Software Foundation plus additions
-   that are listed in the file LICENSE.
+   License as published by the Free Software Foundation and included
+   in the file LICENSE.
 
    This program is distributed in the hope that it will be useful, but
    WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -31,7 +31,7 @@
  *
  *   Kern Sibbald, February MMVII
  *
- *  $Id: estimate.cpp 4856 2007-05-20 15:28:43Z bartleyd2 $
+ *  $Id$
  */ 
 
 #include "bat.h"
@@ -44,7 +44,7 @@ estimatePage::estimatePage()
 {
    QDateTime dt;
 
-   m_name = "Estimate";
+   m_name = tr("Estimate");
    pgInitialize();
    setupUi(this);
    m_console->notify(false);
@@ -58,6 +58,8 @@ estimatePage::estimatePage()
    connect(jobCombo, SIGNAL(currentIndexChanged(int)), this, SLOT(job_name_change(int)));
    connect(okButton, SIGNAL(pressed()), this, SLOT(okButtonPushed()));
    connect(cancelButton, SIGNAL(pressed()), this, SLOT(cancelButtonPushed()));
+   QTreeWidgetItem* thisitem = mainWin->getFromHash(this);
+   thisitem->setIcon(0,QIcon(QString::fromUtf8(":images/estimate-job.png")));
 
    dockPage();
    setCurrent();