From 3b7a7445eeefd619beb284dbb5ef2060d024a506 Mon Sep 17 00:00:00 2001 From: Norbert Moutarde Date: Sat, 1 Oct 2016 12:20:13 +0200 Subject: [PATCH] little tweaks (add a "\n" into the box to make the question more readable) --- mainwindow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 931b6b9..b1cfd38 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -730,10 +730,10 @@ void MainWindow::entry(const QString &a){ //}; context.append(way.last()); - if((a=="")&&(!conf->value(QString("onlylast")).toBool()))label=context+" : "; + if((a=="")&&(!conf->value(QString("onlylast")).toBool()))label=context+" :\n "; else if((a=="")&&(conf->value(QString("onlylast")).toBool()))label=way.last()+" : "; - else if((a!="")&&(!conf->value(QString("onlylast")).toBool()))label=context+", "+ a +" : "; - else label=way.last()+", "+a+" : "; + else if((a!="")&&(!conf->value(QString("onlylast")).toBool()))label=context+",\n"+ a +" : "; + else label=way.last()+", "+a+" :\n "; if(conf->value(QString("multiline")).toBool())entry=QInputDialog::getMultiLineText(this, trUtf8("New entry"), label, QString(""), &ok); else entry=QInputDialog::getText(this, trUtf8("New entry"), label, QLineEdit::Normal, "", &ok); -- 2.45.1