Branch: master

46418ee2 2019-05-29 01:49:08 Michele Calgaro
Adjusted to latest TQVariant::TQVariant(bool) function.

Signed-off-by: Michele Calgaro <michele.calgaro@...>
M keximdb/src/keximdb/mdbmigrate.cpp

kexim

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 @@
 {
 
   /*! @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 @@
 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 @@
   }
 
   // Supports setting source encoding
-  m_properties[ isNonUnicodePropId ] = TQVariant( IS_JET3(m_mdb), 1 );
+  m_properties[ isNonUnicodePropId ] = TQVariant( IS_JET3(m_mdb) );
 
   return true;
 }