diff options
author | Mateusz Łukasik <mati75@linuxmint.pl> | 2015-04-25 16:17:41 +0200 |
---|---|---|
committer | Mateusz Łukasik <mati75@linuxmint.pl> | 2015-04-25 16:17:41 +0200 |
commit | 45ee5ac6dc2159352596ce8e8ec744e0c864d492 (patch) | |
tree | 55ca90fd4a0d5c0eae188c5919510b6b0d2e3c5d /src/preferencesdialog.cpp | |
parent | a35c74c509f107094fd81cee8df109b652063969 (diff) |
Imported Upstream version 14.9.0.6690~ds0
Diffstat (limited to 'src/preferencesdialog.cpp')
-rw-r--r-- | src/preferencesdialog.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/preferencesdialog.cpp b/src/preferencesdialog.cpp index 5901f38..0afa147 100644 --- a/src/preferencesdialog.cpp +++ b/src/preferencesdialog.cpp @@ -1,5 +1,5 @@ /* smplayer, GUI front-end for mplayer. - Copyright (C) 2006-2014 Ricardo Villalba <rvm@users.sourceforge.net> + Copyright (C) 2006-2015 Ricardo Villalba <rvm@users.sourceforge.net> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -30,6 +30,7 @@ #include "prefplaylist.h" #include "preftv.h" #include "prefupdates.h" +#include "prefnetwork.h" #if USE_ASSOCIATIONS #include "prefassociations.h" @@ -64,6 +65,7 @@ PreferencesDialog::PreferencesDialog(QWidget * parent, Qt::WindowFlags f) //help_window->adjustSize(); help_window->setWindowTitle( tr("SMPlayer - Help") ); help_window->setWindowIcon( Images::icon("logo") ); + help_window->setOpenExternalLinks(true); page_general = new PrefGeneral; addSection( page_general ); @@ -97,6 +99,9 @@ PreferencesDialog::PreferencesDialog(QWidget * parent, Qt::WindowFlags f) page_updates = new PrefUpdates; addSection( page_updates ); + page_network = new PrefNetwork; + addSection( page_network ); + page_advanced = new PrefAdvanced; addSection( page_advanced ); @@ -179,6 +184,7 @@ void PreferencesDialog::setData(Preferences * pref) { page_playlist->setData(pref); page_tv->setData(pref); page_updates->setData(pref); + page_network->setData(pref); #if USE_ASSOCIATIONS page_associations->setData(pref); @@ -196,6 +202,7 @@ void PreferencesDialog::getData(Preferences * pref) { page_playlist->getData(pref); page_tv->getData(pref); page_updates->getData(pref); + page_network->getData(pref); #if USE_ASSOCIATIONS page_associations->getData(pref); @@ -213,6 +220,7 @@ bool PreferencesDialog::requiresRestart() { if (!need_restart) need_restart = page_playlist->requiresRestart(); if (!need_restart) need_restart = page_tv->requiresRestart(); if (!need_restart) need_restart = page_updates->requiresRestart(); + if (!need_restart) need_restart = page_network->requiresRestart(); return need_restart; } |