author | zecke <zecke> | 2004-10-16 13:20:00 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-10-16 13:20:00 (UTC) |
commit | e70f226f5c4c2f488f6c4406034a04e128c0ca93 (patch) (unidiff) | |
tree | 5d1596bfa3150086a6296687d036d5912c483ded | |
parent | df14f647ff1a60ca82e0fa9bd91458be146153b8 (diff) | |
download | opie-e70f226f5c4c2f488f6c4406034a04e128c0ca93.zip opie-e70f226f5c4c2f488f6c4406034a04e128c0ca93.tar.gz opie-e70f226f5c4c2f488f6c4406034a04e128c0ca93.tar.bz2 |
Disable the unimplemented 'slotRename' and reuse the ToolButton
to show the ImageInfo, which was only accessible by keyboard before
-rw-r--r-- | noncore/graphics/opie-eye/gui/mainwindow.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/noncore/graphics/opie-eye/gui/mainwindow.cpp b/noncore/graphics/opie-eye/gui/mainwindow.cpp index 6fff5ab..438fbf2 100644 --- a/noncore/graphics/opie-eye/gui/mainwindow.cpp +++ b/noncore/graphics/opie-eye/gui/mainwindow.cpp | |||
@@ -41,9 +41,8 @@ PMainWindow::PMainWindow(QWidget* wid, const char* name, WFlags style) | |||
41 | { | 41 | { |
42 | setCaption( QObject::tr("Opie Eye Caramba" ) ); | 42 | setCaption( QObject::tr("Opie Eye Caramba" ) ); |
43 | m_cfg = new Opie::Core::OConfig("phunkview"); | 43 | m_cfg = new Opie::Core::OConfig("phunkview"); |
44 | m_cfg->setGroup("Zecke_view" ); | 44 | m_cfg->setGroup("Zecke_view" ); |
45 | // odebug << "Process-wide OApplication object @ " << oApp << oendl; | ||
46 | /* | 45 | /* |
47 | * Initialize ToolBar and IconView | 46 | * Initialize ToolBar and IconView |
48 | * And Connect Them | 47 | * And Connect Them |
49 | */ | 48 | */ |
@@ -75,9 +74,9 @@ PMainWindow::PMainWindow(QWidget* wid, const char* name, WFlags style) | |||
75 | 74 | ||
76 | QToolButton*btn = new QToolButton( bar ); | 75 | QToolButton*btn = new QToolButton( bar ); |
77 | btn->setIconSet( Resource::loadIconSet( "edit" ) ); | 76 | btn->setIconSet( Resource::loadIconSet( "edit" ) ); |
78 | connect( btn, SIGNAL(clicked()), | 77 | connect( btn, SIGNAL(clicked()), |
79 | m_view, SLOT(slotRename()) ); | 78 | m_view, SLOT(slotImageInfo()) ); |
80 | 79 | ||
81 | if ( Ir::supported() ) { | 80 | if ( Ir::supported() ) { |
82 | btn = new QToolButton( bar ); | 81 | btn = new QToolButton( bar ); |
83 | btn->setIconSet( Resource::loadIconSet( "beam" ) ); | 82 | btn->setIconSet( Resource::loadIconSet( "beam" ) ); |