Solving issue 2221: "Specifying the Settings and Cache path through environment variables"

This commit is contained in:
Hombre
2014-02-05 18:29:23 +01:00
parent aa986a4c76
commit f2c4846dce
4 changed files with 52 additions and 22 deletions

View File

@@ -140,7 +140,13 @@ int main(int argc, char **argv)
mainThread = Glib::Thread::self();
Options::load ();
if (!Options::load ()) {
Gtk::Main m(&argc, &argv);
Gtk::MessageDialog msgd ("Fatal error!\nThe RT_SETTINGS and/or RT_PATH environment variables are set, but use a relative path. The path must be absolute!", true, Gtk::MESSAGE_ERROR, Gtk::BUTTONS_OK, true);
msgd.run ();
return -2;
}
extProgStore->init();
SoundManager::init();