From 5ba573240f5caf5d7548245ef1066b6f3cbbf951 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 22 May 2014 11:40:22 -0700 Subject: Gratuitous whitespace changes I keep trying to get to consistenct. Completely hopeless. Signed-off-by: Dirk Hohndel --- android.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'android.cpp') diff --git a/android.cpp b/android.cpp index 4dfaccb07..93f26730b 100644 --- a/android.cpp +++ b/android.cpp @@ -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 */ } - } -- cgit v1.2.3-70-g09d2