From: Norbert Moutarde Date: Wed, 22 Oct 2014 19:32:50 +0000 (+0200) Subject: when an action contains "idem", it is changed by the label of the X-Git-Url: https://git.nothing2do.fr/?a=commitdiff_plain;h=cdbcf057e57e868822d49377b1e871e48aaae367;p=diary-mobile.git when an action contains "idem", it is changed by the label of the buttons (proud of that altought it was easy to implement) --- 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);