mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
[Improvement] Shortcuts to switch folders
This commit is contained in:
committed by
Eric Kotato
parent
e0bd2d9008
commit
e56de1e6aa
@@ -130,6 +130,19 @@ const auto CommandByName = base::flat_map<QString, Command>{
|
|||||||
{ qsl("account8") , Command::ShowAccount8 },
|
{ qsl("account8") , Command::ShowAccount8 },
|
||||||
{ qsl("account9") , Command::ShowAccount9 },
|
{ qsl("account9") , Command::ShowAccount9 },
|
||||||
{ qsl("last_account") , Command::ShowAccountLast },
|
{ qsl("last_account") , Command::ShowAccountLast },
|
||||||
|
|
||||||
|
// Kotatogram: legacy keys
|
||||||
|
{ qsl("folder_all") , Command::ShowAllChats },
|
||||||
|
{ qsl("folder_1") , Command::ShowFolder1 },
|
||||||
|
{ qsl("folder_2") , Command::ShowFolder2 },
|
||||||
|
{ qsl("folder_3") , Command::ShowFolder3 },
|
||||||
|
{ qsl("folder_4") , Command::ShowFolder4 },
|
||||||
|
{ qsl("folder_5") , Command::ShowFolder5 },
|
||||||
|
{ qsl("folder_6") , Command::ShowFolder6 },
|
||||||
|
{ qsl("folder_last") , Command::ShowFolderLast },
|
||||||
|
|
||||||
|
{ qsl("folder_next") , Command::FolderNext },
|
||||||
|
{ qsl("folder_previous") , Command::FolderPrevious },
|
||||||
};
|
};
|
||||||
|
|
||||||
const auto CommandNames = base::flat_map<Command, QString>{
|
const auto CommandNames = base::flat_map<Command, QString>{
|
||||||
|
Reference in New Issue
Block a user