void FinderSyncHost::onShareLinkGenerated(const QString &link) { SharedLinkDialog *dialog = new SharedLinkDialog(link, NULL); dialog->setAttribute(Qt::WA_DeleteOnClose); dialog->show(); dialog->raise(); dialog->activateWindow(); }
void SeafileExtensionHandler::onShareLinkGenerated(const QString& link) { SharedLinkDialog *dialog = new SharedLinkDialog(link, NULL); dialog->setAttribute(Qt::WA_DeleteOnClose); dialog->show(); dialog->raise(); dialog->activateWindow(); }