SVN commit 462646 by wstephens: Don't import the first row of the CSV if its contents match the header string. TODO: add a 'first line contains header' checkbox post 3.5. M +4 -0 csvimportdialog.cpp --- branches/KDE/3.5/kdepim/kaddressbook/xxport/csvimportdialog.cpp #462645:462646 @@ -182,6 +182,10 @@ } QString value = mTable->text( row, col ); + if ( 1 == row && item->text() == value ) + // we are looking at a header row, stop now + break; + if ( !value.isEmpty() ) emptyRow = false;