| 1850 | } |
| 1851 | |
| 1852 | void WizDatabase::onBizServiceExpr(const QString& strBizGUID, const QString& strErrorMessage) |
| 1853 | { |
| 1854 | if (strBizGUID.isEmpty()) |
| 1855 | return; |
| 1856 | |
| 1857 | WizDatabase* db = personalDatabase(); |
| 1858 | if (!db) |
| 1859 | return; |
| 1860 | |
| 1861 | QString strMetaSection; |
| 1862 | if (!db->getBizMetaName(strBizGUID, strMetaSection)) |
| 1863 | return; |
| 1864 | // |
| 1865 | db->setMeta(strMetaSection, "LastSyncErrorCode", QString::number(WIZKMSYNC_EXIT_BIZ_SERVICE_EXPR)); |
| 1866 | db->setMeta(strMetaSection, "LastSyncErrorMessage", strErrorMessage); |
| 1867 | } |
| 1868 | |
| 1869 | bool WizDatabase::isTrafficLimit() |
| 1870 | { |
nothing calls this directly
no test coverage detected