changeset 793 | cac93797c580 |
parent 792 | 7d67be709091 |
child 795 | 6b0a5f4923d3 |
1.1 --- a/mainwindow.cpp Tue Sep 08 12:15:39 2009 +0000 1.2 +++ b/mainwindow.cpp Wed Sep 09 12:57:06 2009 +0000 1.3 @@ -1478,6 +1478,7 @@ 1.4 1.5 a = new QAction( "Test function 2" , this); 1.6 a->setStatusTip( "Call test function 2" ); 1.7 + a->setShortcut (Qt::SHIFT + Qt::Key_T); 1.8 testMenu->addAction (a); 1.9 connect( a, SIGNAL( triggered() ), this, SLOT( testFunction2() ) ); 1.10