What is the data type of checkseconds and show the code that calls method Widget::timekeeper. Rather than going back and forth with snippets of incorrect code that doesn't even show how a method is called, why don't you just post your code in its entirety?
And you continue to ignore the question regarding that values do checkremoteseconds and checklocalseconds contain after you've read the values from the text file? Set a breakpoint in the debugger and run your code and inspect the variables at run time or write out their values using qDebug() please.
Please take your actual source files, compress them into tar.gz and post your project as an attachment to your post.
iswaryasenthilkumar, do not be angry but I think it's time to go back to school and learn the basics of C++.
Bookmarks