OSDN Git Service
(root)
/
gikomona
/
GikoMona.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
9c6533f
)
[libcore] app_modelを直接触るのはやめた方が良いので、model::get_instance()を使うように変更。
author
caprice
<caprice@users.sourceforge.jp>
Mon, 17 Jun 2013 11:46:56 +0000
(20:46 +0900)
committer
caprice
<caprice@users.sourceforge.jp>
Mon, 17 Jun 2013 11:46:56 +0000
(20:46 +0900)
core/src/GikoMona.cpp
patch
|
blob
|
history
diff --git
a/core/src/GikoMona.cpp
b/core/src/GikoMona.cpp
index
9a80b05
..
5432e18
100644
(file)
--- a/
core/src/GikoMona.cpp
+++ b/
core/src/GikoMona.cpp
@@
-20,9
+20,9
@@
bool init_core() {
db.run_sql("");
app_model = new model;
-
app_model
->load_file("./config.xml");
-
app_model
->load_file("./history.db");
-
app_model
->load_file("./saved-tab-session.xml");
+
model::get_instance()
->load_file("./config.xml");
+
model::get_instance()
->load_file("./history.db");
+
model::get_instance()
->load_file("./saved-tab-session.xml");
}
void done_core() noexcept {