[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdegraphics/kdvi
From: Wilfried Huss <Wilfried.Huss () gmx ! at>
Date: 2005-01-23 11:12:05
Message-ID: 20050123111205.6903219D99 () office ! kde ! org
[Download RAW message or body]
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();
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic