diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-05-29 10:49:08 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-05-29 10:49:08 +0900 |
commit | 46418ee2ec26cb831d5ab3f643e23610f663b453 (patch) | |
tree | acc61cad9ddddbf0e3a10ff63db61faa84cad7bf | |
parent | ae041147279b3e424bd521bbfe47e99dca80085a (diff) | |
download | keximdb-46418ee2ec26cb831d5ab3f643e23610f663b453.tar.gz keximdb-46418ee2ec26cb831d5ab3f643e23610f663b453.zip |
Adjusted to latest TQVariant::TQVariant(bool) function.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | keximdb/src/keximdb/mdbmigrate.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/keximdb/src/keximdb/mdbmigrate.cpp b/keximdb/src/keximdb/mdbmigrate.cpp index 2fc182f..c090419 100644 --- a/keximdb/src/keximdb/mdbmigrate.cpp +++ b/keximdb/src/keximdb/mdbmigrate.cpp @@ -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; } |