summaryrefslogtreecommitdiffstats
path: root/kmymoney2/mymoney/storage/mymoneystoragesql.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-04-13 02:20:30 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-04-13 02:20:30 -0500
commit2943dd3424f5363483d65eb10d0cae34bd2051c7 (patch)
treead1535e913d633aa51849390e45fae71280a5011 /kmymoney2/mymoney/storage/mymoneystoragesql.cpp
parent9485ffbe6ee7a34abcf18b6f97d519949970f1a5 (diff)
downloadkmymoney-2943dd3424f5363483d65eb10d0cae34bd2051c7.tar.gz
kmymoney-2943dd3424f5363483d65eb10d0cae34bd2051c7.zip
Fix inadvertent "TQ" changes.
Diffstat (limited to 'kmymoney2/mymoney/storage/mymoneystoragesql.cpp')
-rw-r--r--kmymoney2/mymoney/storage/mymoneystoragesql.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kmymoney2/mymoney/storage/mymoneystoragesql.cpp b/kmymoney2/mymoney/storage/mymoneystoragesql.cpp
index fe8ac87..6868e64 100644
--- a/kmymoney2/mymoney/storage/mymoneystoragesql.cpp
+++ b/kmymoney2/mymoney/storage/mymoneystoragesql.cpp
@@ -1208,7 +1208,7 @@ void MyMoneyStorageSql::writeAccounts() {
MyMoneyAccount acc_q;
acc_q.setAccountType(MyMoneyAccount::Equity);
acc_q.setName("Equity");
- MyMoneyAccount equity(STD_ACC_ETQUITY, acc_q);
+ MyMoneyAccount equity(STD_ACC_EQUITY, acc_q);
writeAccount(asset, q); ++m_accounts;
writeAccount(expense, q); ++m_accounts;
@@ -4297,7 +4297,7 @@ const TQString MyMoneyDbIndex::generateDDL (databaseTypeE dbType) const
TQString qs = "CREATE ";
if (m_unique)
- qs += "UNITQUE ";
+ qs += "UNIQUE ";
qs += "INDEX " + m_table + "_" + m_name + "_idx ON "
+ m_table + " (";