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;
|
||||
}))
|
||||
||
|
||||
(request->check(Command::SendMessage) && request->handle([=] {
|
||||
(request->check(Command::JustSendMessage) && request->handle([=] {
|
||||
const auto post = [&](QEvent::Type type) {
|
||||
QApplication::postEvent(
|
||||
button,
|
||||
|
|
|
@ -78,7 +78,7 @@ const auto CommandByName = base::flat_map<QString, Command>{
|
|||
{ qsl("show_archive") , Command::ShowArchive },
|
||||
|
||||
// Shortcuts that have no default values.
|
||||
{ qsl("message") , Command::SendMessage },
|
||||
{ qsl("message") , Command::JustSendMessage },
|
||||
{ qsl("message_silently") , Command::SendSilentMessage },
|
||||
{ qsl("message_scheduled"), Command::ScheduleMessage },
|
||||
//
|
||||
|
|
|
@ -37,7 +37,7 @@ enum class Command {
|
|||
|
||||
ShowArchive,
|
||||
|
||||
SendMessage,
|
||||
JustSendMessage,
|
||||
SendSilentMessage,
|
||||
ScheduleMessage,
|
||||
|
||||
|
|
Loading…
Reference in New Issue