From: Eric Bollengier Date: Thu, 22 Oct 2009 15:07:47 +0000 (+0200) Subject: bat: try to center InChanger bullet X-Git-Tag: Release-5.0.0~282^2~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2ac3a63c5b35aef6a99525e4e39de239e4c00a2e;p=bacula%2Fbacula bat: try to center InChanger bullet --- diff --git a/bacula/src/qt-console/util/fmtwidgetitem.cpp b/bacula/src/qt-console/util/fmtwidgetitem.cpp index d7b228d747..f673175755 100644 --- a/bacula/src/qt-console/util/fmtwidgetitem.cpp +++ b/bacula/src/qt-console/util/fmtwidgetitem.cpp @@ -447,6 +447,11 @@ last(NULL) void TableItemFormatter::setPixmap(int index, const QPixmap &pix) { +// Centered, but not sortable ! +// QLabel *lbl = new QLabel(); +// lbl->setAlignment(Qt::AlignCenter); +// lbl->setPixmap(pix); +// parent->setCellWidget(row, index, lbl); last = new BatSortingTableItem; parent->setItem(row, index, last); last->setIcon(pix);