Changeset View
Changeset View
Standalone View
Standalone View
kate/main.cpp
Show First 20 Lines • Show All 410 Lines • ▼ Show 20 Line(s) | 399 | if (foundRunningService) { | |||
---|---|---|---|---|---|
411 | 411 | | |||
412 | QString enc = parser.isSet(useEncodingOption) ? parser.value(useEncodingOption) : QString(); | 412 | QString enc = parser.isSet(useEncodingOption) ? parser.value(useEncodingOption) : QString(); | ||
413 | 413 | | |||
414 | bool tempfileSet = parser.isSet(tempfileOption); | 414 | bool tempfileSet = parser.isSet(tempfileOption); | ||
415 | 415 | | |||
416 | QStringList tokens; | 416 | QStringList tokens; | ||
417 | 417 | | |||
418 | // open given files... | 418 | // open given files... | ||
419 | // BUG: 397913 Don't reverse order of files opened from the command line | 419 | // BUG: 397913 Don't reverse order of files opened from the command line | ||
420 | for (int i = urls.size()-1; i >= 0; i--) { | 420 | for (int i = urls.size()-1; i >= 0; i--) { | ||
421 | const QString & url = urls[i]; | 421 | const QString & url = urls[i]; | ||
422 | QDBusMessage m = QDBusMessage::createMethodCall(serviceName, | 422 | QDBusMessage m = QDBusMessage::createMethodCall(serviceName, | ||
423 | QStringLiteral("/MainApplication"), QStringLiteral("org.kde.Kate.Application"), QStringLiteral("tokenOpenUrlAt")); | 423 | QStringLiteral("/MainApplication"), QStringLiteral("org.kde.Kate.Application"), QStringLiteral("tokenOpenUrlAt")); | ||
424 | 424 | | |||
425 | UrlInfo info(url); | 425 | UrlInfo info(url); | ||
426 | QList<QVariant> dbusargs; | 426 | QList<QVariant> dbusargs; | ||
427 | 427 | | |||
▲ Show 20 Lines • Show All 213 Lines • Show Last 20 Lines |