[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/kommander/widgets
From: Michal Rudolf <mrudolf () kdewebdev ! org>
Date: 2006-08-17 16:54:11
Message-ID: 1155833651.759529.3980.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 573965 by mrudolf:
Fix empty cells handling
M +3 -5 table.cpp
--- branches/work/kommander/widgets/table.cpp #573964:573965
@@ -152,12 +152,11 @@
setNumRows(0);
QStringList rows;
QStringList row;
- rows = QStringList::split("\n", args[0]);
+ rows = QStringList::split("\n", args[0], true);
setNumRows(rows.count());
for (QStringList::Iterator it = rows.begin(); it != rows.end(); ++it, ++r)
{
-
- row = QStringList::split("\t", *it);
+ row = QStringList::split("\t", *it, true);
if (!r)
setNumCols(row.count());
c = 0;
@@ -168,8 +167,7 @@
}
default:
return KommanderWidget::handleDCOP(function, args);
-
- }
+ }
return QString::null;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic