~ubuntu-branches/debian/sid/smplayer/sid

« back to all changes in this revision

Viewing changes to src/timeslider.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Maia Kozheva
  • Date: 2009-03-31 23:05:43 UTC
  • mto: (1.1.9 upstream) (3.1.2 squeeze)
  • mto: This revision was merged to the branch mainline in revision 14.
  • Revision ID: james.westby@ubuntu.com-20090331230543-nsklbxenl2hf2n6h
Tags: upstream-0.6.7
ImportĀ upstreamĀ versionĀ 0.6.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*  smplayer, GUI front-end for mplayer.
2
 
    Copyright (C) 2006-2008 Ricardo Villalba <rvm@escomposlinux.org>
 
2
    Copyright (C) 2006-2009 Ricardo Villalba <rvm@escomposlinux.org>
3
3
 
4
4
    This program is free software; you can redistribute it and/or modify
5
5
    it under the terms of the GNU General Public License as published by
27
27
{
28
28
        dont_update = FALSE;
29
29
        setMinimum(0);
 
30
#ifdef SEEKBAR_RESOLUTION
 
31
        setMaximum(SEEKBAR_RESOLUTION);
 
32
#else
30
33
        setMaximum(100);
 
34
#endif
31
35
 
32
36
        setFocusPolicy( Qt::NoFocus );
33
37
        setSizePolicy( QSizePolicy::Expanding , QSizePolicy::Fixed );