summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakashihi <akashihi@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-04-04 16:38:42 +0000
committerakashihi <akashihi@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-04-04 16:38:42 +0000
commitc283378725f1b49d1d4be6fce86f8f53f5c79caa (patch)
tree703d3ca281ea67a5a50347fcffa0310caa7c28e5
parent0c7d3ced00094e467841503aae3992a836de02c5 (diff)
downloadnavit-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.cpp1
-rw-r--r--gui/qml/skins/navit/command.qml8
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();
}