Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.6.2
-
None
-
Ubuntu 10.04
-
5b5785bc564ccea9f6868d02be3d1080cb5039b9, a4376f3760fae97b3ae45c9ae7b62ed505bfa05d
Description
I am using -enableRemoteControl when creating a QProcess for Qt Assistant. When my application navigates to another page, I am calling setSource and syncContents. It appears that syncContents sets the contents pane to the *previous* page, not the current page.
I am writing the "change page" logic like this:
QByteArray ba;
ba.append(QLatin1String("setSource qthelp://org.sphinx.Literacy.1.0/doc/"));
ba.append(page);
ba.append(QLatin1String(".html"));
ba.append('\0');
process_->write(ba);
ba.clear();
ba.append(QLatin1String("syncContents"));
ba.append('\0');
process_->write(ba);
I have tried this both as separate commands (as above) as well as one command, chaining them together with semicolon. There is no difference.