From cdbcf057e57e868822d49377b1e871e48aaae367 Mon Sep 17 00:00:00 2001 From: Norbert Moutarde Date: Wed, 22 Oct 2014 21:32:50 +0200 Subject: [PATCH] when an action contains "idem", it is changed by the label of the buttons (proud of that altought it was easy to implement) --- mainwindow.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mainwindow.cpp b/mainwindow.cpp index c7cb90a..01b6923 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -151,6 +151,9 @@ void MainWindow::quit(){ } const CLabel* MainWindow::addWidget(const QString &key, const CLabel *a){ qDebug()<<"addWidget("<text()); + } int c=grid->count(); int maxc=conf->value(QString("maxcolumn")).toInt(); grid->addWidget(a, c/maxc, c%maxc, 1, 1, Qt::AlignJustify| Qt::AlignVCenter | Qt::AlignHCenter); -- 2.45.1