Fix 'format not a string literal' error

pull/1/head
Timothy Pearson 13 years ago
parent 99c7fa4980
commit 14ba7d8af6

@ -334,7 +334,6 @@ void CSVImportDlg::accept()
TQValueList<int> headers;
TQStringList list;
TQString name = getDatabaseName();
int i = 0;
TQString q = "INSERT INTO " + name + " (";
for( int c = 0; c < table->horizontalHeader()->count(); c++ ) {
@ -375,7 +374,7 @@ void CSVImportDlg::accept()
TQSqlQuery query;
if( !query.exec( line ) )
tqDebug( i18n("Could not import the following line:") + line );
tqDebug( "%s", i18n("Could not import the following line:") + line );
//KMessageBox::error( this, i18n("Could not import the following line:") + line );
}

Loading…
Cancel
Save