summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Nienhüser <nienhueser@kde.org>2016-09-04 11:05:19 (GMT)
committerDennis Nienhüser <nienhueser@kde.org>2016-09-04 11:05:19 (GMT)
commit36319184f908f4dc436643571cef5327383d98ef (patch)
treee2530d33fe477a20d48fb4189c1bd18906b20c69
parentf644c48a9109420363810fa74b94c647ec2ef87f (diff)
Use QCoreApplication instead of QApplication
-rw-r--r--tools/vectorosm-tilecreator/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/vectorosm-tilecreator/main.cpp b/tools/vectorosm-tilecreator/main.cpp
index a5b6ded..b7ca9bf 100644
--- a/tools/vectorosm-tilecreator/main.cpp
+++ b/tools/vectorosm-tilecreator/main.cpp
@@ -96,10 +96,10 @@ bool writeTile(const QCommandLineParser &parser, const QString &outputName, GeoD
int main(int argc, char *argv[])
{
- QApplication app(argc, argv);
+ QCoreApplication app(argc, argv);
- QApplication::setApplicationName("marble-vectorosm-tilecreator");
- QApplication::setApplicationVersion("0.1");
+ QCoreApplication::setApplicationName("marble-vectorosm-tilecreator");
+ QCoreApplication::setApplicationVersion("0.1");
QCommandLineParser parser;
parser.setApplicationDescription("A tool for Marble, which is used to reduce the details of osm maps.");