Changeset View
Changeset View
Standalone View
Standalone View
shell/shell.cpp
Show First 20 Lines • Show All 272 Lines • ▼ Show 20 Line(s) | 263 | { | |||
---|---|---|---|---|---|
273 | } | 273 | } | ||
274 | } | 274 | } | ||
275 | } | 275 | } | ||
276 | else | 276 | else | ||
277 | { | 277 | { | ||
278 | m_tabWidget->setTabText( activeTab, url.fileName() ); | 278 | m_tabWidget->setTabText( activeTab, url.fileName() ); | ||
279 | applyOptionsToPart( activePart, serializedOptions ); | 279 | applyOptionsToPart( activePart, serializedOptions ); | ||
280 | bool openOk = activePart->openUrl( url ); | 280 | bool openOk = activePart->openUrl( url ); | ||
281 | const bool isstdin = url.fileName() == QLatin1String( "-" ); | 281 | const bool isstdin = url.fileName() == QLatin1String( "-" ) || url.scheme() == QLatin1String( "fd" ); | ||
282 | if ( !isstdin ) | 282 | if ( !isstdin ) | ||
283 | { | 283 | { | ||
284 | if ( openOk ) | 284 | if ( openOk ) | ||
285 | { | 285 | { | ||
286 | #ifdef WITH_KACTIVITIES | 286 | #ifdef WITH_KACTIVITIES | ||
287 | if ( !m_activityResource ) | 287 | if ( !m_activityResource ) | ||
288 | m_activityResource = new KActivities::ResourceInstance( window()->winId(), this ); | 288 | m_activityResource = new KActivities::ResourceInstance( window()->winId(), this ); | ||
289 | 289 | | |||
▲ Show 20 Lines • Show All 504 Lines • Show Last 20 Lines |