mirror of https://github.com/procxx/kepka.git
				
				
				
			Fix build for Windows.
This commit is contained in:
		
							parent
							
								
									465a42a825
								
							
						
					
					
						commit
						bdfa080701
					
				|  | @ -730,7 +730,7 @@ void SetupSendMenuAndShortcuts( | ||||||
| 				return true; | 				return true; | ||||||
| 			})) | 			})) | ||||||
| 		|| | 		|| | ||||||
| 		(request->check(Command::SendMessage) && request->handle([=] { | 		(request->check(Command::JustSendMessage) && request->handle([=] { | ||||||
| 			const auto post = [&](QEvent::Type type) { | 			const auto post = [&](QEvent::Type type) { | ||||||
| 				QApplication::postEvent( | 				QApplication::postEvent( | ||||||
| 					button, | 					button, | ||||||
|  |  | ||||||
|  | @ -78,7 +78,7 @@ const auto CommandByName = base::flat_map<QString, Command>{ | ||||||
| 	{ qsl("show_archive")     , Command::ShowArchive }, | 	{ qsl("show_archive")     , Command::ShowArchive }, | ||||||
| 
 | 
 | ||||||
| 	// Shortcuts that have no default values.
 | 	// Shortcuts that have no default values.
 | ||||||
| 	{ qsl("message")          , Command::SendMessage }, | 	{ qsl("message")          , Command::JustSendMessage }, | ||||||
| 	{ qsl("message_silently") , Command::SendSilentMessage }, | 	{ qsl("message_silently") , Command::SendSilentMessage }, | ||||||
| 	{ qsl("message_scheduled"), Command::ScheduleMessage }, | 	{ qsl("message_scheduled"), Command::ScheduleMessage }, | ||||||
| 	//
 | 	//
 | ||||||
|  |  | ||||||
|  | @ -37,7 +37,7 @@ enum class Command { | ||||||
| 
 | 
 | ||||||
| 	ShowArchive, | 	ShowArchive, | ||||||
| 
 | 
 | ||||||
| 	SendMessage, | 	JustSendMessage, | ||||||
| 	SendSilentMessage, | 	SendSilentMessage, | ||||||
| 	ScheduleMessage, | 	ScheduleMessage, | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue