| Summary: | kdvi is not restarted with new sessions | ||
|---|---|---|---|
| Product: | [Unmaintained] kdvi | Reporter: | O Kullmann <o.kullmann> |
| Component: | general | Assignee: | Matthias Hoelzer-Kluepfel <hoelzer> |
| Status: | RESOLVED FIXED | ||
| Severity: | wishlist | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
O Kullmann
2003-06-20 19:23:39 UTC
CVS commit by whuss: Enable session management. Fixes bug #60142. BUG:60142 M +66 -57 main.cpp 1.10 --- kdegraphics/kdvi/main.cpp #1.9:1.10 @@ -56,4 +56,12 @@ int main(int argc, char** argv) KCmdLineArgs::addCmdLineOptions(options); KApplication app; + + // see if we are starting with session management + if (app.isRestored()) + { + RESTORE(KViewShell); + } + else + { KCmdLineArgs* args = KCmdLineArgs::parsedArgs(); @@ -135,4 +142,6 @@ int main(int argc, char** argv) shell->show(); + } + return app.exec(); } This bug has been fixed for KDE 3.4 which should be released in March 2005. Thanks for your help, Wilfried Huss. |