mainwindow.cpp
branchqt4-port
changeset 8 21379539d952
parent 7 84f76a3876d7
child 9 f94317a94db1
     1.1 --- a/mainwindow.cpp	Tue Jul 04 12:10:56 2006 +0000
     1.2 +++ b/mainwindow.cpp	Wed Jul 05 10:29:54 2006 +0000
     1.3 @@ -683,6 +683,7 @@
     1.4  	a = new QAction(QPixmap(), tr( "Edit URL"+QString("...") ), this);
     1.5  	a->setStatusTip ( tr( "Edit URL" ) );
     1.6  	a->setShortcut (Qt::SHIFT + Qt::CTRL+Qt::Key_U );
     1.7 +	a->setShortcutContext (Qt::WindowShortcut);
     1.8  	a->setEnabled (false);
     1.9  	actionListBranches.append(a);
    1.10      connect( a, SIGNAL( activated() ), this, SLOT( editURL() ) );
    1.11 @@ -1561,17 +1562,6 @@
    1.12  		saveImageFormatMenu->addAction ( a );
    1.13      }
    1.14  
    1.15 -/* FIXME  not needed any longer
    1.16 -	Q3StrList fmt = QImageWriter::supportedImageFormats();
    1.17 -	for (const char* f = fmt.first(); f; f = fmt.next()) 
    1.18 -	{
    1.19 -		saveImageFormatMenu->insertItem( f );
    1.20 -		exportImageFormatMenu->insertItem( f );
    1.21 -	}	
    1.22 -*/	
    1.23 -//	connect( saveImageFormatMenu, SIGNAL( activated(int) ), this, SLOT( editSaveImage(int ) ) );
    1.24 -//	connect( exportImageFormatMenu, SIGNAL( activated(int) ), this, SLOT( fileExportImage(int ) ) );
    1.25 -	
    1.26  	floatimageContextMenu->addSeparator();	
    1.27  	actionEditCopy->addTo( floatimageContextMenu );
    1.28  	actionEditCut->addTo( floatimageContextMenu );