mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 01:13:24 +00:00
Whitespace cleanup
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
6b904f9480
commit
4491c91b93
2 changed files with 7 additions and 8 deletions
11
qt-gui.cpp
11
qt-gui.cpp
|
@ -14,11 +14,12 @@
|
|||
#include "qt-gui.h"
|
||||
|
||||
#ifdef SUBSURFACE_MOBILE
|
||||
#include <QQuickWindow>
|
||||
#include <QQmlApplicationEngine>
|
||||
#include <QQmlContext>
|
||||
#include "qt-mobile/qmlmanager.h"
|
||||
#include "qt-models/divelistmodel.h"
|
||||
#include <QQuickWindow>
|
||||
#include <QQmlApplicationEngine>
|
||||
#include <QQmlContext>
|
||||
#include "qt-mobile/qmlmanager.h"
|
||||
#include "qt-models/divelistmodel.h"
|
||||
QObject *qqWindowObject = NULL;
|
||||
#endif
|
||||
|
||||
static MainWindow *window = NULL;
|
||||
|
|
|
@ -24,7 +24,6 @@ void QMLManager::savePreferences()
|
|||
s.beginGroup("CloudStorage");
|
||||
s.setValue("email", cloudUserName());
|
||||
s.setValue("password", cloudPassword());
|
||||
|
||||
s.sync();
|
||||
}
|
||||
|
||||
|
@ -41,13 +40,12 @@ void QMLManager::loadDives()
|
|||
if (!error) {
|
||||
set_filename(fileNamePrt.data(), true);
|
||||
}
|
||||
|
||||
process_dives(false, false);
|
||||
int i;
|
||||
struct dive *d;
|
||||
|
||||
for_each_dive(i, d)
|
||||
DiveListModel::instance()->addDive(d);
|
||||
DiveListModel::instance()->addDive(d);
|
||||
}
|
||||
|
||||
QString QMLManager::cloudPassword() const
|
||||
|
|
Loading…
Add table
Reference in a new issue