This is to shut up a certain person. :> And no, we won't do it on a single newline
already, as this would be quite annoying.
QStringList lines = newText.split(lineSep);
clear();
QStringList lines = newText.split(lineSep);
clear();
- if(lines.count() > 4) {
+ if(lines.count() >= 4) {
QString msg = tr("Do you really want to paste %1 lines?").arg(lines.count());
msg += "<p>";
for(int i = 0; i < 3; i++) {
QString msg = tr("Do you really want to paste %1 lines?").arg(lines.count());
msg += "<p>";
for(int i = 0; i < 3; i++) {