[Kst] kdeextragear-2/kst/kst
C. Barth Netterfield
netterfield at physics.utoronto.ca
Thu Jun 24 20:42:27 CEST 2004
Can you suppress the dialog which asks for a window name and just use a
default name? The appropriate methods exist I think...
cbn
On Thursday 24 June 2004 2:18 pm, Andrew Walker wrote:
> CVS commit by arwalker:
>
> Makre sure we can function from the command line by creating a default
> window if there isn't one.
>
>
> M +12 -2 main.cpp 1.65
>
>
> --- kdeextragear-2/kst/kst/main.cpp #1.64:1.65
> @@ -369,4 +370,13 @@ int main(int argc, char *argv[]) {
>
> KstTopLevelViewPtr tlv = kst->activeView();
> +
> + if (!tlv) {
> + //
> + // if there was no active view then we create one...
> + //
> + kst->newWindow();
> + tlv = kst->activeView();
> + }
> +
> if (!tlv) {
> exit(0);
>
>
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst
More information about the Kst
mailing list