void MainWindow::showHelp() { #ifdef Q_OS_ANDROID const QString manual_path = MapperResource::locate(MapperResource::MANUAL, QString::fromLatin1("index.html")); const QUrl help_url = QUrl::fromLocalFile(manual_path); TextBrowserDialog help_dialog(help_url, this); help_dialog.exec(); #else Util::showHelp(this); #endif }
void help(GtkWidget *widget,gpointer data) { help_dialog(widget,data); }