diff options
author | Benjamin Jemlich <pcgod@users.sourceforge.net> | 2012-01-11 20:00:59 +0400 |
---|---|---|
committer | Benjamin Jemlich <pcgod@users.sourceforge.net> | 2012-01-15 01:47:32 +0400 |
commit | cc8e245c53ee6cbb1f6f17b1cba4a65531cffc98 (patch) | |
tree | 5b995b64f4f6a0d17deb5ac413b374e10397f720 /src/murmur/ServerDB.cpp | |
parent | 63a384ddd5786365f1e403525450b30abed17d44 (diff) |
Mark Server::log as const
Diffstat (limited to 'src/murmur/ServerDB.cpp')
-rw-r--r-- | src/murmur/ServerDB.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/murmur/ServerDB.cpp b/src/murmur/ServerDB.cpp index b60145858..10da8e13b 100644 --- a/src/murmur/ServerDB.cpp +++ b/src/murmur/ServerDB.cpp @@ -113,7 +113,7 @@ ServerDB::ServerDB() { } if (found) { QFileInfo fi(db->databaseName()); - qWarning("ServerDB: Openend SQLite database %s", qPrintable(fi.absoluteFilePath())); + qWarning("ServerDB: Opened SQLite database %s", qPrintable(fi.absoluteFilePath())); if (! fi.isWritable()) qFatal("ServerDB: Database is not writeable"); } @@ -1573,7 +1573,7 @@ void Server::setConf(const QString &key, const QVariant &value) { ServerDB::setConf(iServerNum, key, value); } -void Server::dblog(const QString &str) { +void Server::dblog(const QString &str) const { TransactionHolder th; QSqlQuery &query = *th.qsqQuery; |