changes for 1.6.9
authorinsilmaril
Fri, 08 Jul 2005 07:24:43 +0000
changeset 117835f2eb4d744
parent 116 c6a5c9e27740
child 118 d18eb6939d17
changes for 1.6.9
main.cpp
mainwindow.cpp
     1.1 --- a/main.cpp	Fri Jul 08 07:24:42 2005 +0000
     1.2 +++ b/main.cpp	Fri Jul 08 07:24:43 2005 +0000
     1.3 @@ -4,6 +4,7 @@
     1.4  #include <qdir.h>
     1.5  #include <qptrlist.h>
     1.6  #include <qtextcodec.h>
     1.7 +#include <qnetwork.h>
     1.8  
     1.9  #include "settings.h"
    1.10  #include "options.h"
    1.11 @@ -115,6 +116,7 @@
    1.12  {
    1.13      QApplication app(argc,argv);
    1.14  
    1.15 +    qInitNetworkProtocols();
    1.16  
    1.17  	// Use /usr/share/vym or /usr/local/share/vym or .
    1.18  	QDir shareDir;
     2.1 --- a/mainwindow.cpp	Fri Jul 08 07:24:42 2005 +0000
     2.2 +++ b/mainwindow.cpp	Fri Jul 08 07:24:43 2005 +0000
     2.3 @@ -1046,7 +1046,7 @@
     2.4  
     2.5  void Main::showEvent (QShowEvent * )
     2.6  {
     2.7 -	if (textEditor->showWithMain()) textEditor->show();
     2.8 +	if (textEditor->showWithMain()) textEditor->showNormal();
     2.9  }
    2.10  
    2.11  bool Main::reallyWriteDirectory(const QString &dir)