Adjusted to latest TQVariant::TQVariant(bool) function.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/2/head
Michele Calgaro 5 years ago
parent ae04114727
commit 46418ee2ec
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -46,7 +46,7 @@ MDBMigrate::MDBMigrate(TQObject *parent, const char *name,
{
/*! @todo invert the sense of values, then remove "Non-" from these strings */
m_properties[ isNonUnicodePropId ] = TQVariant( true, 1 );
m_properties[ isNonUnicodePropId ] = TQVariant( true );
m_propertyCaptions[ isNonUnicodePropId ] =
i18n("Source Database Has Non-Unicode Encoding");
m_properties[ nonUnicodePropId ] = TQVariant("");
@ -82,7 +82,7 @@ void MDBMigrate::releaseBackend() {
TQVariant MDBMigrate::propertyValue( const TQCString& propName )
{
if ( propName == isNonUnicodePropId ) {
m_properties[ isNonUnicodePropId ] = TQVariant(false, 0);
m_properties[ isNonUnicodePropId ] = TQVariant(false);
// Costly, but we need this to get this property from file...
drv_connect();
@ -119,7 +119,7 @@ bool MDBMigrate::drv_connect() {
}
// Supports setting source encoding
m_properties[ isNonUnicodePropId ] = TQVariant( IS_JET3(m_mdb), 1 );
m_properties[ isNonUnicodePropId ] = TQVariant( IS_JET3(m_mdb) );
return true;
}

Loading…
Cancel
Save