Changeset 88

Show
Ignore:
Timestamp:
01/14/06 00:48:18 (3 years ago)
Author:
edmanm
Message:

Add some shortcuts for the Mac menubar..

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/mainwindow.cpp

    r86 r88  
    9292 
    9393  _messageAct = new QAction(tr("Log Message History"), this); 
     94 
     95#if defined(Q_WS_MAC) 
     96  /* Mac users sure like their shortcuts. Actions NOT mentioned below 
     97   * don't explicitly need shortcuts, since they are merged to the default 
     98   * menubar and get the default shortcuts anyway. */ 
     99  _startAct->setShortcut(tr("Ctrl+S")); 
     100  _stopAct->setShortcut(tr("Ctrl+T")); 
     101  _bandwidthAct->setShortcut(tr("Ctrl+B")); 
     102  _messageAct->setShortcut(tr("Ctrl+L")); 
     103#endif 
    94104} 
    95105