Skip to content

Use Qt-wide keyboard shortcut for "Quit" #862

@probonopd

Description

@probonopd
Expected Behavior

The ususal Qt-wide keyboard shortcut for quitting application works

Current Behavior

Quit has no shortcut at all

image

Possible Solution

Probably around

setup_Action(QUIT, new QAction(QIcon::fromTheme(QStringLiteral("application-exit")), tr("&Quit"), settingOwner), "", this, SLOT(close()), menu_File);

need to use QKeySequence::Quit.

Steps to Reproduce (for bugs)
  1. Run helloSystem 0.6.0 Live ISO
  2. Open Terminal
Context

All applications should follow the system-wide Qt shortcuts for things like quitting, so that the user can quit any application using the same keyboard shortcut. Especially for system-level utilities like this one.

System Information
  • QTerminal version: 0.16.0
  • Distribution & Version: helloSystem 0.6.0
  • Kernel: FreeBSD 12.2-RELEASE
  • Qt Version: 5.15.2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions