~ubuntu-branches/debian/experimental/smplayer/experimental

« back to all changes in this revision

Viewing changes to src/preferencesdialog.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Maia Kozheva
  • Date: 2009-01-03 17:08:06 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20090103170806-eodntb2slv6g2pb6
Tags: 0.6.6-0ubuntu1
* The "just before FF" release.
* New upstream release.
* debian/control: Bumped Standards-Version to 3.8.0.
* debian/copyright: Changed (C) to © to fix Lintian warning.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
#include "prefinput.h"
28
28
#include "prefsubtitles.h"
29
29
#include "prefadvanced.h"
 
30
#include "prefplaylist.h"
30
31
 
31
32
#if USE_ASSOCIATIONS
32
33
#include "prefassociations.h"
80
81
        page_input = new PrefInput;
81
82
        addSection( page_input );
82
83
 
 
84
        page_playlist = new PrefPlaylist;
 
85
        addSection( page_playlist );
 
86
 
83
87
#if USE_ASSOCIATIONS
84
88
        page_associations = new PrefAssociations;
85
89
        addSection(page_associations);
163
167
        page_input->setData(pref);
164
168
        page_subtitles->setData(pref);
165
169
        page_advanced->setData(pref);
 
170
        page_playlist->setData(pref);
166
171
 
167
172
#if USE_ASSOCIATIONS
168
173
        page_associations->setData(pref);
177
182
        page_input->getData(pref);
178
183
        page_subtitles->getData(pref);
179
184
        page_advanced->getData(pref);
 
185
        page_playlist->getData(pref);
180
186
 
181
187
#if USE_ASSOCIATIONS
182
188
        page_associations->getData(pref);
191
197
        if (!need_restart) need_restart = page_input->requiresRestart();
192
198
        if (!need_restart) need_restart = page_subtitles->requiresRestart();
193
199
        if (!need_restart) need_restart = page_advanced->requiresRestart();
 
200
        if (!need_restart) need_restart = page_playlist->requiresRestart();
194
201
 
195
202
        return need_restart;
196
203
}
207
214
        if (e->type() == QEvent::LanguageChange) {
208
215
                retranslateStrings();
209
216
        } else {
210
 
                QWidget::changeEvent(e);
 
217
                QDialog::changeEvent(e);
211
218
        }
212
219
}
213
220