X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/96f134eecc80a9a655d4b85fc2bd078775bb1c34..c33b01efb2aed904af9ffaef27fb3b0b4bdda37b:/src/main.cpp diff --git a/src/main.cpp b/src/main.cpp index 395c5e1b8..28a69390f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -33,12 +33,11 @@ int main(int argc, char **argv) { KAboutData about("dolphin", 0, ki18nc("@title", "Dolphin"), - "0.9.5", + "1.0.99", ki18nc("@title", "File Manager"), KAboutData::License_GPL, ki18nc("@info:credit", "(C) 2006, 2007 Peter Penz")); about.setHomepage("http://enzosworld.gmxhome.de"); - about.setBugAddress("http://bugs.kde.org"); about.addAuthor(ki18nc("@info:credit", "Peter Penz"), ki18nc("@info:credit", "Maintainer and developer"), "peter.penz@gmx.at"); @@ -80,7 +79,7 @@ int main(int argc, char **argv) QApplication::setWindowIcon(KIcon("system-file-manager")); KGlobal::locale()->insertCatalog("libkonq"); // needed for applications using libkonq - if (false /*app.isSessionRestored()*/) { + if (app.isSessionRestored()) { int n = 1; while (KMainWindow::canBeRestored(n)) { const QString className = KXmlGuiWindow::classNameOfToplevel(n); @@ -92,9 +91,8 @@ int main(int argc, char **argv) } ++n; } - } else { - app.exec(); } + app.exec(); return 0; }