Changeset 118 for smplayer/vendor/current/src/prefinterface.cpp
- Timestamp:
- Dec 22, 2011, 6:27:52 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
smplayer/vendor/current/src/prefinterface.cpp
r90 r118 1 1 /* smplayer, GUI front-end for mplayer. 2 Copyright (C) 2006-201 0Ricardo Villalba <rvm@escomposlinux.org>2 Copyright (C) 2006-2011 Ricardo Villalba <rvm@escomposlinux.org> 3 3 4 4 This program is free software; you can redistribute it and/or modify … … 180 180 181 181 setUpdateWhileDragging(pref->update_while_seeking); 182 setRelativeSeeking(pref->relative_seeking); 182 183 183 184 setDefaultFont(pref->default_font); … … 242 243 243 244 pref->update_while_seeking = updateWhileDragging(); 245 pref->relative_seeking= relativeSeeking(); 244 246 245 247 pref->default_font = defaultFont(); … … 413 415 bool PrefInterface::updateWhileDragging() { 414 416 return (timeslider_behaviour_combo->currentIndex() == 0); 417 } 418 419 void PrefInterface::setRelativeSeeking(bool b) { 420 relative_seeking_button->setChecked(b); 421 absolute_seeking_button->setChecked(!b); 422 } 423 424 bool PrefInterface::relativeSeeking() { 425 return relative_seeking_button->isChecked(); 415 426 } 416 427 … … 549 560 tr("Select what to do when dragging the time slider.") ); 550 561 562 setWhatsThis(seeking_method_group, tr("Seeking method"), 563 tr("Sets the method to be used when seeking with the slider. " 564 "Absolute seeking may be a little bit more accurate, while " 565 "relative seeking may work better with files with a wrong length.") ); 566 551 567 addSectionTitle(tr("Instances")); 552 568
Note:
See TracChangeset
for help on using the changeset viewer.