I think till now you understand what exactly I am asking for.
I have recognize the Problem and my problem is in below code
void ui_logging::Button_Clicked()
{
QTextStream in
(file);
//My Problem is here on every click I am creating the object again and again
for( i = 0;i<10;i++)
{
in>>str1;
qDebug()<<str1;
}
int n = in.pos();
}
void ui_logging::Button_Clicked()
{
QTextStream in(file); //My Problem is here on every click I am creating the object again and again
for( i = 0;i<10;i++)
{
in>>str1;
qDebug()<<str1;
}
int n = in.pos();
}
To copy to clipboard, switch view to plain text mode
Do you have any solution for the above.
Bookmarks