summaryrefslogtreecommitdiff
authorzecke <zecke>2005-02-24 00:26:25 (UTC)
committer zecke <zecke>2005-02-24 00:26:25 (UTC)
commit2b6eb729bfc4c2a0868d5b19e2518b275e3a8f39 (patch) (side-by-side diff)
tree66863f328c05490078dc5a4740b9176c751bb707
parent729a178d1da1b8f80e4b1f6b0fc2c6a4cd15a403 (diff)
downloadopie-2b6eb729bfc4c2a0868d5b19e2518b275e3a8f39.zip
opie-2b6eb729bfc4c2a0868d5b19e2518b275e3a8f39.tar.gz
opie-2b6eb729bfc4c2a0868d5b19e2518b275e3a8f39.tar.bz2
Speed up application start by more than 30%
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/textedit/textedit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/apps/textedit/textedit.cpp b/core/apps/textedit/textedit.cpp
index 26b907b..63709dd 100644
--- a/core/apps/textedit/textedit.cpp
+++ b/core/apps/textedit/textedit.cpp
@@ -156,33 +156,33 @@ static const int nfontsizes = 6;
static const int fontsize[nfontsizes] = {8,10,12,14,18,24};
TextEdit::TextEdit( QWidget *parent, const char *name, WFlags f )
: QMainWindow( parent, name, f ), bFromDocView( false )
{
doc = 0;
edited=false;
fromSetDocument=false;
setToolBarsMovable( false );
connect( qApp,SIGNAL( aboutToQuit()),SLOT( cleanUp()) );
channel = new QCopChannel( "QPE/Application/textedit", this );
connect( channel, SIGNAL(received(const QCString&,const QByteArray&)),
this, SLOT(receive(const QCString&,const QByteArray&)) );
- setIcon( Resource::loadPixmap( "TextEditor" ) );
+ setIcon( Resource::loadPixmap( "textedit/TextEditor" ) );
QToolBar *bar = new QToolBar( this );
bar->setHorizontalStretchable( true );
menu = bar;
QMenuBar *mb = new QMenuBar( bar );
QPopupMenu *file = new QPopupMenu( this );
QPopupMenu *edit = new QPopupMenu( this );
QPopupMenu *advancedMenu = new QPopupMenu(this);
font = new QPopupMenu( this );
bar = new QToolBar( this );
editBar = bar;
QAction *a = new QAction( tr( "New" ), Resource::loadPixmap( "new" ),