Switch to unified view
a/src/qtgui/main.cpp | b/src/qtgui/main.cpp | ||
---|---|---|---|
... |
... |
||
106 | mainWindow->startManual(helpindex); |
106 | mainWindow->startManual(helpindex); |
107 | } |
107 | } |
108 | 108 | ||
109 | bool maybeOpenDb(string &reason, bool force, bool *maindberror) |
109 | bool maybeOpenDb(string &reason, bool force, bool *maindberror) |
110 | { |
110 | { |
111 | LOGDEB2(("maybeOpenDb: force %d\n", force)); |
||
111 | if (!rcldb) { |
112 | if (!rcldb) { |
112 | reason = "Internal error: db not created"; |
113 | reason = "Internal error: db not created"; |
113 | return false; |
114 | return false; |
114 | } |
115 | } |
115 | 116 |