Changeset View
Changeset View
Standalone View
Standalone View
src/mobile/KexiMobileWidget.cpp
Show First 20 Lines • Show All 49 Lines • ▼ Show 20 Line(s) | |||||
50 | } | 50 | } | ||
51 | 51 | | |||
52 | 52 | | |||
53 | void KexiMobileWidget::databaseOpened(KexiProject *project) | 53 | void KexiMobileWidget::databaseOpened(KexiProject *project) | ||
54 | { | 54 | { | ||
55 | m_project = project; | 55 | m_project = project; | ||
56 | if (project && (project->open() == true)) { | 56 | if (project && (project->open() == true)) { | ||
57 | m_navWidget->setProject(project); | 57 | m_navWidget->setProject(project); | ||
58 | qDebug() << "Project opened"; | 58 | //qDebug() << "Project opened"; | ||
59 | } else { | 59 | } else { | ||
60 | qWarning() << "Project not opened"; | 60 | qWarning() << "Project not opened"; | ||
61 | if (project) { | 61 | if (project) { | ||
62 | qWarning() << project->errorMsg(); | 62 | qWarning() << project->errorMsg(); | ||
63 | } | 63 | } | ||
64 | } | 64 | } | ||
65 | 65 | | |||
66 | setCurrentWidget(m_navWidget); | 66 | setCurrentWidget(m_navWidget); | ||
Show All 21 Lines |