Diffstat (limited to 'core/apps/textedit/textedit.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/apps/textedit/textedit.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/core/apps/textedit/textedit.cpp b/core/apps/textedit/textedit.cpp index 21bf4b3..6f96574 100644 --- a/core/apps/textedit/textedit.cpp +++ b/core/apps/textedit/textedit.cpp | |||
@@ -695,16 +695,13 @@ void TextEdit::openFile( const QString &f ) { | |||
695 | qDebug("filename is "+ f); | 695 | qDebug("filename is "+ f); |
696 | QString filer; | 696 | QString filer; |
697 | QFileInfo fi( f); | 697 | QFileInfo fi( f); |
698 | // bFromDocView = true; | 698 | // bFromDocView = true; |
699 | if(f.find(".desktop",0,true) != -1 && !openDesktop ) | 699 | if(f.find(".desktop",0,true) != -1 && !openDesktop ) |
700 | { | 700 | { |
701 | switch ( QMessageBox::warning(this,tr("Text Editor"), | 701 | switch ( QMessageBox::warning(this,tr("Text Editor"),tr("Text Editor has detected<BR>you selected a <B>.desktop</B>file.<BR>Open<B>.desktop</B> file or <B>linked</B> file?"),tr(".desktop File"),tr("Linked Document"),0,1,1) ) |
702 | tr("Text Editor has detected<BR>you selected a <B>.desktop</B> | ||
703 | file.<BR>Open <B>.desktop</B> file or <B>linked</B> file?"), | ||
704 | tr(".desktop File"),tr("Linked Document"),0,1,1) ) | ||
705 | { | 702 | { |
706 | case 0: //desktop | 703 | case 0: //desktop |
707 | filer = f; | 704 | filer = f; |
708 | break; | 705 | break; |
709 | case 1: //linked | 706 | case 1: //linked |
710 | DocLnk sf(f); | 707 | DocLnk sf(f); |