mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Move proxy initialization into shared code
This way we can use the same code on desktop and mobile app. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
76d0763527
commit
97fa132202
4 changed files with 17 additions and 9 deletions
|
@ -57,6 +57,7 @@ int main(int argc, char **argv)
|
|||
taglist_init_global();
|
||||
init_ui();
|
||||
loadPreferences();
|
||||
init_proxy();
|
||||
if (no_filenames) {
|
||||
if (prefs.default_file_behavior == LOCAL_DEFAULT_FILE) {
|
||||
QString defaultFile(prefs.default_filename);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue