add survey
This commit is contained in:
parent
e8c84dc748
commit
52ca649908
2 changed files with 5 additions and 10 deletions
|
@ -26,7 +26,7 @@
|
||||||
<url type="donation">https://github.com/sponsors/martinrotter</url>
|
<url type="donation">https://github.com/sponsors/martinrotter</url>
|
||||||
<content_rating type="oars-1.1" />
|
<content_rating type="oars-1.1" />
|
||||||
<releases>
|
<releases>
|
||||||
<release version="4.2.0" date="2022-03-17"/>
|
<release version="4.2.0" date="2022-03-18"/>
|
||||||
</releases>
|
</releases>
|
||||||
<content_rating type="oars-1.0">
|
<content_rating type="oars-1.0">
|
||||||
<content_attribute id="violence-cartoon">none</content_attribute>
|
<content_attribute id="violence-cartoon">none</content_attribute>
|
||||||
|
|
|
@ -257,15 +257,10 @@ void Application::loadDynamicShortcuts() {
|
||||||
|
|
||||||
void Application::showPolls() const {
|
void Application::showPolls() const {
|
||||||
if(isFirstRunCurrentVersion()) {
|
if(isFirstRunCurrentVersion()) {
|
||||||
qApp->showGuiMessage(Notification::Event::NewAppVersionAvailable, {
|
qApp->showGuiMessage(Notification::Event::GeneralEvent,
|
||||||
tr("RSS Guard has Discord server!"),
|
{ QSL("%1 survey").arg(QSL(APP_NAME)), QSL("Please, fill the survey."), QSystemTrayIcon::MessageIcon::Warning },
|
||||||
tr("You can visit it now! Click me!"),
|
{ false, true, false });
|
||||||
QSystemTrayIcon::MessageIcon::Information },
|
qApp->web()->openUrlInExternalBrowser(QSL("https://forms.gle/9GgSa38Awqr37xLV8"));
|
||||||
{}, {
|
|
||||||
tr("Go to Discord!"),
|
|
||||||
[this]() {
|
|
||||||
web()->openUrlInExternalBrowser(QSL("https://discord.gg/7xbVMPPNqH"));
|
|
||||||
} });
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue