Ignore:
Timestamp:
May 16, 2014, 9:51:55 AM (11 years ago)
Author:
Silvan Scherrer
Message:

SMPlayer: update trunk to latest 0.8.7

Location:
smplayer/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • smplayer/trunk

  • smplayer/trunk/src/timedialog.cpp

    r142 r165  
    11/*  smplayer, GUI front-end for mplayer.
    2     Copyright (C) 2006-2013 Ricardo Villalba <rvm@users.sourceforge.net>
     2    Copyright (C) 2006-2014 Ricardo Villalba <rvm@users.sourceforge.net>
    33
    44    This program is free software; you can redistribute it and/or modify
     
    3131
    3232void TimeDialog::setTime(int seconds) {
    33         QTime t;
     33        QTime t(0,0);
    3434        time_edit->setTime(t.addSecs(seconds));
    3535}
    3636
    3737int TimeDialog::time() {
    38         QTime t;
     38        QTime t(0,0);
    3939        return t.secsTo(time_edit->time());
    4040}
    4141
    4242void TimeDialog::setMaximumTime( int seconds ) {
    43         QTime t;
     43        QTime t(0,0);
    4444        time_edit->setMaximumTime(t.addSecs(seconds));
    4545}
    4646
    4747int TimeDialog::maximumTime() {
    48         QTime t;
     48        QTime t(0,0);
    4949        return t.secsTo(time_edit->maximumTime());
    5050}
Note: See TracChangeset for help on using the changeset viewer.