-rw-r--r-- | core/apps/textedit/textedit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/apps/textedit/textedit.cpp b/core/apps/textedit/textedit.cpp index 197b28b..c869dc9 100644 --- a/core/apps/textedit/textedit.cpp +++ b/core/apps/textedit/textedit.cpp | |||
@@ -361,25 +361,25 @@ TextEdit::TextEdit( QWidget *parent, const char *name, WFlags f ) | |||
361 | 361 | ||
362 | 362 | ||
363 | a = new QAction( tr( "Find Next" ), Resource::loadPixmap( "next" ), QString::null, 0, this, 0 ); | 363 | a = new QAction( tr( "Find Next" ), Resource::loadPixmap( "next" ), QString::null, 0, this, 0 ); |
364 | connect( a, SIGNAL( activated() ), this, SLOT( findNext() ) ); | 364 | connect( a, SIGNAL( activated() ), this, SLOT( findNext() ) ); |
365 | a->addTo( searchBar ); | 365 | a->addTo( searchBar ); |
366 | a->addTo( edit ); | 366 | a->addTo( edit ); |
367 | 367 | ||
368 | a = new QAction( tr( "Close Find" ), Resource::loadPixmap( "close" ), QString::null, 0, this, 0 ); | 368 | a = new QAction( tr( "Close Find" ), Resource::loadPixmap( "close" ), QString::null, 0, this, 0 ); |
369 | connect( a, SIGNAL( activated() ), this, SLOT( findClose() ) ); | 369 | connect( a, SIGNAL( activated() ), this, SLOT( findClose() ) ); |
370 | a->addTo( searchBar ); | 370 | a->addTo( searchBar ); |
371 | 371 | ||
372 | edit->insertSeparator(); | 372 | edit->insertSeparator(); |
373 | a = new QAction( tr( "Delete" ), Resource::loadPixmap( "delete" ), QString::null, 0, this, 0 ); | 373 | a = new QAction( tr( "Delete" ), Resource::loadPixmap( "close" ), QString::null, 0, this, 0 ); |
374 | connect( a, SIGNAL( activated() ), this, SLOT( editDelete() ) ); | 374 | connect( a, SIGNAL( activated() ), this, SLOT( editDelete() ) ); |
375 | a->addTo( edit ); | 375 | a->addTo( edit ); |
376 | 376 | ||
377 | searchBar->hide(); | 377 | searchBar->hide(); |
378 | 378 | ||
379 | editorStack = new QWidgetStack( this ); | 379 | editorStack = new QWidgetStack( this ); |
380 | setCentralWidget( editorStack ); | 380 | setCentralWidget( editorStack ); |
381 | 381 | ||
382 | searchVisible = FALSE; | 382 | searchVisible = FALSE; |
383 | 383 | ||
384 | fileSelector = new FileSelector( "text/*", editorStack, "fileselector" , TRUE, TRUE); //buggy | 384 | fileSelector = new FileSelector( "text/*", editorStack, "fileselector" , TRUE, TRUE); //buggy |
385 | connect( fileSelector, SIGNAL( closeMe() ), this, SLOT( showEditTools() ) ); | 385 | connect( fileSelector, SIGNAL( closeMe() ), this, SLOT( showEditTools() ) ); |