From: Eric Bollengier Date: Thu, 22 Oct 2009 15:07:47 +0000 (+0200) Subject: bat: try to center InChanger bullet X-Git-Tag: Release-7.0.0~2599^2~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=45a229525dffafac82c248442e9063dad4c5c1d0;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);