1.1 --- a/mainwindow.cpp Thu Jul 06 14:47:01 2006 +0000
1.2 +++ b/mainwindow.cpp Thu Jul 06 15:39:54 2006 +0000
1.3 @@ -668,23 +668,24 @@
1.4 a->setShortcut (Qt::CTRL + Qt::Key_U );
1.5 a->setShortcut (tr( "Open URL" ));
1.6 tb->addAction (a);
1.7 - a->setEnabled (false);
1.8 + addAction(a);
1.9 connect( a, SIGNAL( activated() ), this, SLOT( editOpenURL() ) );
1.10 actionEditOpenURL=a;
1.11
1.12 a = new QAction( tr( "Open URL in new tab" ), this);
1.13 a->setStatusTip (tr( "Open URL in new tab" ));
1.14 a->setShortcut (Qt::CTRL+Qt::Key_U );
1.15 - a->setEnabled (false);
1.16 + addAction(a);
1.17 connect( a, SIGNAL( activated() ), this, SLOT( editOpenURLTab() ) );
1.18 actionEditOpenURLTab=a;
1.19
1.20 a = new QAction(QPixmap(), tr( "Edit URL"+QString("...") ), this);
1.21 a->setStatusTip ( tr( "Edit URL" ) );
1.22 - a->setShortcut (Qt::SHIFT + Qt::CTRL+Qt::Key_U );
1.23 + a->setShortcut (Qt::SHIFT + Qt::CTRL + Qt::Key_U );
1.24 + //a->setShortcut ( Qt::Key_U );
1.25 a->setShortcutContext (Qt::WindowShortcut);
1.26 - a->setEnabled (false);
1.27 actionListBranches.append(a);
1.28 + addAction(a);
1.29 connect( a, SIGNAL( activated() ), this, SLOT( editURL() ) );
1.30 actionEditURL=a;
1.31