Mercurial > dedupe
view Exception/SQLException.cpp @ 66:a60c26e34d1a
Avoid apprent hang in beginning, now application shows, but appears frosen.
Need better fix.
| author | Tom Fredrik Blenning Klaussen <bfg@bfgconsult.no> |
|---|---|
| date | Sun, 23 Dec 2012 22:07:57 +0100 |
| parents | f711ddb56ae7 |
| children | c9447697609f |
line wrap: on
line source
#include "SQLException.hpp" #include <QtSql/QSqlError> #include <QtSql/QSqlQuery> SQLException::SQLException(const QString& errorMsg) : Exception(errorMsg) { } SQLException::SQLException(const QSqlQuery& errorQuery) : Exception(errorQuery.lastError().text() + ":" + errorQuery.lastQuery()) { }
