From 160308bc29cf01582775f73e1aca13e82c65bffd Mon Sep 17 00:00:00 2001 From: llornkcor Date: Mon, 25 Feb 2002 05:24:43 +0000 Subject: fixed open setDoc bug --- (limited to 'core/apps') diff --git a/core/apps/textedit/Makefile.in b/core/apps/textedit/Makefile.in index fa394d6..234965b 100644 --- a/core/apps/textedit/Makefile.in +++ b/core/apps/textedit/Makefile.in @@ -84,10 +84,8 @@ $(DESTDIR)$(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC) $(SUBLIBS) moc: $(SRCMOC) -tmake: Makefile.in - -Makefile.in: textedit.pro - tmake textedit.pro -o Makefile.in +tmake: + tmake textedit.pro clean: -rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC) $(UICIMPLS) $(UICDECLS) diff --git a/core/apps/textedit/textedit.cpp b/core/apps/textedit/textedit.cpp index 603f032..bc975f3 100644 --- a/core/apps/textedit/textedit.cpp +++ b/core/apps/textedit/textedit.cpp @@ -832,7 +832,9 @@ void TextEdit::updateCaption( const QString &name ) void TextEdit::setDocument(const QString& fileref) { bFromDocView = TRUE; - openFile(DocLnk(fileref)); + openFile(fileref); +// bFromDocView = TRUE; +// openFile(DocLnk(fileref)); // showEditTools(); } -- cgit v0.9.0.2