diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2022-03-18 04:03:50 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2022-03-18 12:45:32 +0100 |
commit | f3fd991c693316d26e360438eff8ecff8a54553d (patch) | |
tree | 332159ae0e96affb31c831b82e069fbeb1d7984b /kmymoney2/reports/querytabletest.cpp | |
parent | 5e6c401557744fe5f9765471605cc793939fee1f (diff) | |
download | kmymoney-f3fd991c693316d26e360438eff8ecff8a54553d.tar.gz kmymoney-f3fd991c693316d26e360438eff8ecff8a54553d.zip |
Enforce the use of TQt with STL only where it is necessary.
The definition of -UTQT_NO_STL is no longer needed.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kmymoney2/reports/querytabletest.cpp')
-rw-r--r-- | kmymoney2/reports/querytabletest.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kmymoney2/reports/querytabletest.cpp b/kmymoney2/reports/querytabletest.cpp index 458589d..39037d1 100644 --- a/kmymoney2/reports/querytabletest.cpp +++ b/kmymoney2/reports/querytabletest.cpp @@ -283,7 +283,7 @@ void QueryTableTest::testQueryBasics() } catch(MyMoneyException *e) { - CPPUNIT_FAIL(e->what()); + CPPUNIT_FAIL(e->what().local8Bit().data()); delete e; } @@ -429,7 +429,7 @@ void QueryTableTest::testAccountQuery() } catch(MyMoneyException *e) { - CPPUNIT_FAIL(e->what()); + CPPUNIT_FAIL(e->what().local8Bit().data()); delete e; } } @@ -605,7 +605,7 @@ void QueryTableTest::testInvestment(void) } catch(MyMoneyException *e) { - CPPUNIT_FAIL(e->what()); + CPPUNIT_FAIL(e->what().local8Bit().data()); delete e; } } @@ -659,7 +659,7 @@ void QueryTableTest::testInvestment(void) } catch(MyMoneyException *e) { - CPPUNIT_FAIL(e->what()); + CPPUNIT_FAIL(e->what().local8Bit().data()); delete e; } @@ -690,7 +690,7 @@ void QueryTableTest::testTaxReport() TQString html = qtbl_3.renderHTML(); CPPUNIT_ASSERT(rows.count() == 1); } catch(MyMoneyException *e) { - CPPUNIT_FAIL(e->what()); + CPPUNIT_FAIL(e->what().local8Bit().data()); delete e; } } |