diff options
author | akashihi <akashihi@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-04-04 16:38:42 +0000 |
---|---|---|
committer | akashihi <akashihi@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-04-04 16:38:42 +0000 |
commit | c283378725f1b49d1d4be6fce86f8f53f5c79caa (patch) | |
tree | 703d3ca281ea67a5a50347fcffa0310caa7c28e5 | |
parent | 0c7d3ced00094e467841503aae3992a836de02c5 (diff) | |
download | navit-svn-c283378725f1b49d1d4be6fce86f8f53f5c79caa.tar.gz |
Fix:gui/qml:Removed gui.fullscreen commands handler, cause we have a
attribute for this
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit/navit@3132 ffa7fe5e-494d-0410-b361-a75ebd5db220
-rw-r--r-- | gui/qml/gui_qml.cpp | 1 | ||||
-rw-r--r-- | gui/qml/skins/navit/command.qml | 8 |
2 files changed, 0 insertions, 9 deletions
diff --git a/gui/qml/gui_qml.cpp b/gui/qml/gui_qml.cpp index 7fb6ced6..7edf1b76 100644 --- a/gui/qml/gui_qml.cpp +++ b/gui/qml/gui_qml.cpp @@ -319,7 +319,6 @@ gui_qml_command(struct gui_priv *this_, char *function, struct attr **in, struct static struct command_table commands[] = { {"menu",command_cast(gui_qml_command)}, - {"fullscreen",command_cast(gui_qml_command)}, {"command",command_cast(gui_qml_command)}, }; diff --git a/gui/qml/skins/navit/command.qml b/gui/qml/skins/navit/command.qml index f03a7fdc..87c1272e 100644 --- a/gui/qml/skins/navit/command.qml +++ b/gui/qml/skins/navit/command.qml @@ -9,14 +9,6 @@ Rectangle { gui.returnSource=""; gui.setPage("main.qml"); } - if (command=="fullscreen") { - if (gui.getAttr("fullscreen") == "1") { - gui.setAttr("fullscreen",0) - } else { - gui.setAttr("fullscreen",1) - } - gui.backToMap(); - } if (command=="quit") { navit.quit(); } |