diff options
Diffstat (limited to 'SQLiteStudio3/coreSQLiteStudio/db/db.cpp')
| -rw-r--r-- | SQLiteStudio3/coreSQLiteStudio/db/db.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SQLiteStudio3/coreSQLiteStudio/db/db.cpp b/SQLiteStudio3/coreSQLiteStudio/db/db.cpp index b3ad91b..11e47f2 100644 --- a/SQLiteStudio3/coreSQLiteStudio/db/db.cpp +++ b/SQLiteStudio3/coreSQLiteStudio/db/db.cpp @@ -46,6 +46,6 @@ QDataStream &operator >>(QDataStream &in, Db*& myObj) QDebug operator<<(QDebug dbg, const Db* db) { - dbg.nospace() << "<DB:" << db->getName() << ">"; + dbg.nospace() << "<DB:" << (db ? db->getName() : 0x0) << ">"; return dbg.space(); } |
