mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Gratuitous whitespace changes
I keep trying to get to consistenct. Completely hopeless. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
c7e7cebed6
commit
5ba573240f
48 changed files with 290 additions and 290 deletions
|
|
@ -18,8 +18,8 @@ const char *system_default_filename(void)
|
|||
{
|
||||
/* Replace this when QtCore/QStandardPaths getExternalStorageDirectory landed */
|
||||
QAndroidJniObject externalStorage = QAndroidJniObject::callStaticObjectMethod("android/os/Environment", "getExternalStorageDirectory", "()Ljava/io/File;");
|
||||
QAndroidJniObject externalStorageAbsolute = externalStorage.callObjectMethod( "getAbsolutePath", "()Ljava/lang/String;" );
|
||||
QString system_default_filename = externalStorageAbsolute.toString()+"/subsurface.xml";
|
||||
QAndroidJniObject externalStorageAbsolute = externalStorage.callObjectMethod("getAbsolutePath", "()Ljava/lang/String;");
|
||||
QString system_default_filename = externalStorageAbsolute.toString() + "/subsurface.xml";
|
||||
QAndroidJniEnvironment env;
|
||||
if (env->ExceptionCheck()) {
|
||||
// FIXME: Handle exception here.
|
||||
|
|
@ -29,7 +29,7 @@ const char *system_default_filename(void)
|
|||
return strdup(system_default_filename.toUtf8().data());
|
||||
}
|
||||
|
||||
int enumerate_devices (device_callback_t callback, void *userdata, int dc_type)
|
||||
int enumerate_devices(device_callback_t callback, void *userdata, int dc_type)
|
||||
{
|
||||
/* FIXME: we need to enumerate in some other way on android */
|
||||
/* qtserialport maybee? */
|
||||
|
|
@ -77,5 +77,4 @@ void subsurface_console_exit(void)
|
|||
{
|
||||
/* NOP */
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue