X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fqt-console%2Frun%2Festimate.cpp;h=f3193a467996c38de2c4b0817c9f46e600aedd4f;hb=4bbf56fe1140f2dfa79e6a4a9f717e65375be412;hp=d3295d741b85fe7642f806df6cb2296460fb3059;hpb=6aadd5ed419f42a871e4dbe96022c3e6062b0629;p=bacula%2Fbacula diff --git a/bacula/src/qt-console/run/estimate.cpp b/bacula/src/qt-console/run/estimate.cpp index d3295d741b..f3193a4679 100644 --- a/bacula/src/qt-console/run/estimate.cpp +++ b/bacula/src/qt-console/run/estimate.cpp @@ -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();