]> git.sur5r.net Git - bacula/bacula/commitdiff
bat: try to center InChanger bullet
authorEric Bollengier <eric@eb.homelinux.org>
Thu, 22 Oct 2009 15:07:47 +0000 (17:07 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Thu, 22 Oct 2009 15:07:47 +0000 (17:07 +0200)
bacula/src/qt-console/util/fmtwidgetitem.cpp

index d7b228d74799e10600c1135c756db916e01ff739..f6731757551ffa4255753575fb8036fc4543f4b7 100644 (file)
@@ -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);