Skip to content

Commit

Permalink
Change shortcuts
Browse files Browse the repository at this point in the history
  • Loading branch information
darbyjohnston committed Feb 25, 2025
1 parent 8234c77 commit a5d1201
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/tlPlayApp/FileActions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ namespace tl
"Next",
"Next",
dtk::Key::PageDown,
0,
static_cast<int>(dtk::KeyModifier::Control),
[appWeak]
{
if (auto app = appWeak.lock())
Expand All @@ -135,7 +135,7 @@ namespace tl
"Previous",
"Prev",
dtk::Key::PageUp,
0,
static_cast<int>(dtk::KeyModifier::Control),
[appWeak]
{
if (auto app = appWeak.lock())
Expand Down
4 changes: 2 additions & 2 deletions lib/tlPlayQtApp/FileActions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@ namespace tl
p.actions["Next"] = new QAction(this);
p.actions["Next"]->setText(tr("Next"));
p.actions["Next"]->setIcon(QIcon(":/Icons/Next.svg"));
p.actions["Next"]->setShortcut(QKeySequence(Qt::Key_PageDown));
p.actions["Next"]->setShortcut(QKeySequence(Qt::CTRL | Qt::Key_PageDown));
p.actions["Next"]->setToolTip(tr("Change to the next file"));

p.actions["Prev"] = new QAction(this);
p.actions["Prev"]->setText(tr("Previous"));
p.actions["Prev"]->setIcon(QIcon(":/Icons/Prev.svg"));
p.actions["Prev"]->setShortcut(QKeySequence(Qt::Key_PageUp));
p.actions["Prev"]->setShortcut(QKeySequence(Qt::CTRL | Qt::Key_PageUp));
p.actions["Prev"]->setToolTip(tr("Change to the previous file"));

p.actions["NextLayer"] = new QAction(this);
Expand Down

0 comments on commit a5d1201

Please sign in to comment.