1 | *** libs/libmythtv/osd.cpp.orig 2010-12-31 01:43:55.000000000 -0600 |
---|
2 | --- libs/libmythtv/osd.cpp 2011-04-01 16:36:05.000000000 -0500 |
---|
3 | *************** |
---|
4 | *** 157,163 **** |
---|
5 | m_fontStretch(100), |
---|
6 | m_FunctionalType(kOSDFunctionalType_Default), m_FunctionalWindow(QString()) |
---|
7 | { |
---|
8 | ! SetTimeouts(3000, 5000, 10000); |
---|
9 | } |
---|
10 | |
---|
11 | OSD::~OSD() |
---|
12 | --- 157,173 ---- |
---|
13 | m_fontStretch(100), |
---|
14 | m_FunctionalType(kOSDFunctionalType_Default), m_FunctionalWindow(QString()) |
---|
15 | { |
---|
16 | ! int timeout_short = 3000; // default |
---|
17 | ! int timeout_medium = 5000; // default |
---|
18 | ! int timeout_long = 10000; // default |
---|
19 | ! |
---|
20 | ! // Look for OSD timeouts in theme. |
---|
21 | ! XMLParseBase::GetOSDTimeouts(&timeout_short, &timeout_medium, &timeout_long); |
---|
22 | ! |
---|
23 | ! VERBOSE(VB_PLAYBACK, LOC + QString("Using OSD timeouts %1 (short), %2 (medium), %3 (long)") |
---|
24 | ! .arg(timeout_short).arg(timeout_medium).arg(timeout_long)); |
---|
25 | ! |
---|
26 | ! SetTimeouts(timeout_short, timeout_medium, timeout_long); |
---|
27 | } |
---|
28 | |
---|
29 | OSD::~OSD() |
---|