[Kst] [Bug 117535] View Object creation impossible w/out plots created first

George Staikos staikos at kde.org
Fri Dec 2 22:02:18 CET 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=117535         
staikos kde org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From staikos kde org  2005-12-02 22:02 -------
SVN commit 485093 by staikos:

Create a default window on startup
BUG:117535


 M  +1 -1      kst.cpp  
 M  +1 -0      kstdoc.cpp  


--- trunk/extragear/graphics/kst/kst/kst.cpp #485092:485093
 @ -917,7 +917,7  @
 
 void KstApp::initDocument() {
   doc = new KstDoc(this);
-  doc->newDocument();
+  QTimer::singleShot(0, this, SLOT(slotFileNew()));
 }
 
 
--- trunk/extragear/graphics/kst/kst/kstdoc.cpp #485092:485093
 @ -163,6 +163,7  @
     _modified = false;
     _absFilePath = QDir::homeDirPath();
     _title = i18n("Untitled");
+    KstApp::inst()->newWindow(i18n("default name of first window", "W1"));
     createScalars();
     emit updateDialogs();
   //}


More information about the Kst mailing list