summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2015-03-18 07:30:57 +0100
committerMontel Laurent <[email protected]>2015-03-18 07:31:19 +0100
commit5801cf9abd1a07ed4e9da09d40f695d3e49af94c (patch)
tree98672b94a73b80019283cc85ade31758e590377e
parent5cb54252ebacdaabef515b0e9c58d236d05d2031 (diff)
move qapplication after kdelibs4migrator
-rw-r--r--src/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 74bde84..ee0aab8 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -37,14 +37,14 @@ static const char version[] = "1.5";
int main(int argc, char **argv)
{
- qsrand(time(0));
- QApplication app(argc, argv);
-
Kdelibs4ConfigMigrator migrate(QLatin1String("kdiamond"));
migrate.setConfigFiles(QStringList() << QLatin1String("kdiamondrc") << QLatin1String("kdiamond.notifyrc"));
migrate.setUiFiles(QStringList() << QLatin1String("kdiamondui.rc"));
migrate.migrate();
+ qsrand(time(0));
+ QApplication app(argc, argv);
+
KAboutData about(QLatin1Literal("kdiamond"), i18nc("The application's name", "KDiamond"), QLatin1Literal(version), i18n(description),
KAboutLicense::GPL, i18n("(C) 2008-2010 Stefan Majewsky and others"), QLatin1Literal("http://games.kde.org/kdiamond"));
about.addAuthor(i18n("Stefan Majewsky"), i18n("Original author and current maintainer"), QLatin1Literal("[email protected]"));