@@ -58,7 +58,7 @@ public:
58 connection.setDatabaseName(m_dbName);
58 connection.setDatabaseName(m_dbName);
59 connection.setConnectOptions(QStringLiteral("QSQLITE_BUSY_TIMEOUT=1000"));
59 connection.setConnectOptions(QStringLiteral("QSQLITE_BUSY_TIMEOUT=1000"));
60 if (!connection.open()) {
60 if (!connection.open()) {
61− qWarning() << "Error opening state database " << m_dbName << connection.lastError().driverText() << connection.lastError().databaseText();
61+ qWarning() << "AsyncQuery::initdb: Error opening state database " << m_dbName << connection.lastError().driverText() << connection.lastError().databaseText();
62 return false;
62 return false;
64 QSqlQuery query(connection);
64 QSqlQuery query(connection);
@@ -259,7 +259,7 @@ WindowStateStorage::WindowStateStorage(const QString& dbName, QObject *parent):
259 Qt::BlockingQueuedConnection,
259 Qt::BlockingQueuedConnection,
260 Q_RETURN_ARG(bool, queryInitSuccessful));
260 Q_RETURN_ARG(bool, queryInitSuccessful));
261 if (!queryInitSuccessful) {
261 if (!queryInitSuccessful) {
262− qWarning() << "Failed to initialize WindowStateStorage! Windows will not be restored to their previous location.";
262+ qWarning() << "WindowStateStorage Failed to initialize AsyncQuery! Windows will not be restored to their previous location.";
263 m_asyncOk = false;
263 m_asyncOk = false;
264 m_thread.quit();
264 m_thread.quit();