[Kst] extragear/graphics/kst/kst
George Staikos
staikos at kde.org
Fri Dec 2 22:02:09 CET 2005
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