Changeset 119 for smplayer/trunk/src/prefadvanced.cpp
- Timestamp:
- Dec 27, 2011, 5:44:12 PM (14 years ago)
- Location:
- smplayer/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
smplayer/trunk
-
Property svn:mergeinfo
set to
/smplayer/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
smplayer/trunk/src/prefadvanced.cpp
r112 r119 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 … … 93 93 setUseCorrectPts( pref->use_correct_pts ); 94 94 setActionsToRun( pref->actions_to_run ); 95 setShowTagInTitle( pref->show_tag_in_window_title ); 95 96 96 97 setLogMplayer( pref->log_mplayer ); … … 122 123 TEST_AND_SET(pref->use_correct_pts, useCorrectPts()); 123 124 pref->actions_to_run = actionsToRun(); 125 //TEST_AND_SET(pref->show_tag_in_window_title, showTagInTitle()); 126 pref->show_tag_in_window_title = showTagInTitle(); // TODO: detect change and apply 124 127 125 128 if (pref->monitor_aspect != monitorAspect()) { … … 280 283 QString PrefAdvanced::actionsToRun() { 281 284 return actions_to_run_edit->text(); 285 } 286 287 void PrefAdvanced::setShowTagInTitle(bool b) { 288 show_tag_in_title_check->setChecked(b); 289 } 290 291 bool PrefAdvanced::showTagInTitle() { 292 return show_tag_in_title_check->isChecked(); 282 293 } 283 294 … … 419 430 "audio or video filter).") ); 420 431 432 setWhatsThis(show_tag_in_title_check, tr("Show tag info in window title"), 433 tr("If this option is enabled, information from tags will be " 434 "shown in window title. " 435 "Otherwise only the filename will be shown.") ); 436 421 437 addSectionTitle(tr("Options for MPlayer")); 422 438
Note:
See TracChangeset
for help on using the changeset viewer.