[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/network/videocatcher/src
From: Jonas Emanuel Müller <zanoi () zanoi ! net>
Date: 2010-10-03 16:07:46
Message-ID: 20101003160746.6A9E2AC891 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1182170 by jonasemuller:
if refresh interval is set to 0, never refresh
M +4 -0 mainwindowkde.cpp
--- trunk/playground/network/videocatcher/src/mainwindowkde.cpp #1182169:1182170
@@ -548,6 +548,10 @@
autoRefreshChannelsTimer->stop(); //if timer is already running, stop it
//get the refresh single channel refresh time from the settings and convert it \
to milliseconds
int singleChannelAutoRefreshInterval = \
Configure::channelRefreshInterval().toInt() * 60000; + //do nothing if refresh \
interval is set to 0 + if(singleChannelAutoRefreshInterval == 0) {
+ return;
+ }
//divide the calculated refresh time through the number of channels to get the \
desired interval between all automatic refreshes
int autoRefreshInterval = singleChannelAutoRefreshInterval / \
(channelModel->rowCount()-1.0); currentAutoRefreshLine = 0;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic