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> | ||||
|   <content_rating type="oars-1.1" /> | ||||
|   <releases> | ||||
|     <release version="4.2.0" date="2022-03-17"/> | ||||
|     <release version="4.2.0" date="2022-03-18"/> | ||||
|   </releases> | ||||
|   <content_rating type="oars-1.0"> | ||||
|     <content_attribute id="violence-cartoon">none</content_attribute> | ||||
|  |  | |||
|  | @ -257,15 +257,10 @@ void Application::loadDynamicShortcuts() { | |||
| 
 | ||||
| void Application::showPolls() const { | ||||
|   if(isFirstRunCurrentVersion()) { | ||||
|     qApp->showGuiMessage(Notification::Event::NewAppVersionAvailable, { | ||||
|       tr("RSS Guard has Discord server!"), | ||||
|       tr("You can visit it now! Click me!"), | ||||
|       QSystemTrayIcon::MessageIcon::Information }, | ||||
|                          {}, { | ||||
|       tr("Go to Discord!"), | ||||
|       [this]() { | ||||
|         web()->openUrlInExternalBrowser(QSL("https://discord.gg/7xbVMPPNqH")); | ||||
|       } }); | ||||
|     qApp->showGuiMessage(Notification::Event::GeneralEvent, | ||||
|                          { QSL("%1 survey").arg(QSL(APP_NAME)), QSL("Please, fill the survey."), QSystemTrayIcon::MessageIcon::Warning }, | ||||
|                          { false, true, false }); | ||||
|     qApp->web()->openUrlInExternalBrowser(QSL("https://forms.gle/9GgSa38Awqr37xLV8")); | ||||
|   } | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue