Skip to content

Instantly share code, notes, and snippets.

@lauromoura
Created March 12, 2012 20:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lauromoura/2024513 to your computer and use it in GitHub Desktop.
Save lauromoura/2024513 to your computer and use it in GitHub Desktop.
Use __arm__ to check if building for the device
diff --git a/src/main.cpp b/src/main.cpp
index 74c0cf2..9b2104d 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -58,7 +58,11 @@ int main(int argc, char** argv)
window = new BrowserWindow(arguments);
}
+#if defined(__arm__)
+ window->showFullScreen();
+#else
window->show();
+#endif
app.exec();
DatabaseManager::instance()->destroy();
return 0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment