summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <[email protected]>2015-03-22 16:40:56 +0300
committerJasem Mutlaq <[email protected]>2015-03-22 16:40:56 +0300
commit009c57d6633eb685da1832b92798cff4b2726476 (patch)
tree1bb08ad568fce4f991afb2573eed6873655e1bbb
parent697db6c4529074e1423e826b0cc208f13b3038f9 (diff)
Add shortcut for device manager and ekos
-rw-r--r--kstars/kstarsinit.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/kstars/kstarsinit.cpp b/kstars/kstarsinit.cpp
index ede2a80..6abf4ee 100644
--- a/kstars/kstarsinit.cpp
+++ b/kstars/kstarsinit.cpp
@@ -135,7 +135,7 @@ void KStars::initActions() {
// ==== File menu ================
ka = KNS3::standardAction(xi18n("Download New Data..."), this, SLOT(slotDownload()), actionCollection(), "get_data")
- << QKeySequence( Qt::CTRL+Qt::Key_D );
+ << QKeySequence( Qt::CTRL+Qt::Key_N );
ka->setWhatsThis(xi18n("Downloads new data"));
ka->setToolTip(ka->whatsThis());
ka->setStatusTip(ka->whatsThis());
@@ -399,7 +399,8 @@ void KStars::initActions() {
#ifdef HAVE_INDI
#ifndef Q_WS_WIN
actionCollection()->addAction("ekos", this, SLOT( slotEkos() ) )
- << xi18n("Ekos");
+ << xi18n("Ekos")
+ << QKeySequence(Qt::CTRL+Qt::Key_K );
#endif
#endif
@@ -443,7 +444,8 @@ void KStars::initActions() {
<< QIcon::fromTheme("tools-wizard" );
actionCollection()->addAction("device_manager", this, SLOT( slotINDIDriver() ) )
<< xi18n("Device Manager...")
- << QIcon::fromTheme("network-server" );
+ << QIcon::fromTheme("network-server" )
+ << QKeySequence(Qt::CTRL+Qt::Key_D);
ka = actionCollection()->addAction("indi_cpl", this, SLOT( slotINDIPanel() ) )
<< xi18n("INDI Control Panel...");
ka->setEnabled(false);