Switch to unified view

a/src/qtgui/rclm_view.cpp b/src/qtgui/rclm_view.cpp
...
...
308
    if (!pdoc.ipath.empty()) {
308
    if (!pdoc.ipath.empty()) {
309
        groksipath = false;
309
        groksipath = false;
310
    }
310
    }
311
    }
311
    }
312
312
313
    // Can't remember what enterHistory was actually for. Set it to
314
    // true always for now
313
    bool enterHistory = false;
315
    bool enterHistory = true;
314
    bool istempfile = false;
316
    bool istempfile = false;
315
    
317
    
316
    LOGDEB("StartNativeViewer: groksipath " << groksipath << " wantsf " <<
318
    LOGDEB("StartNativeViewer: groksipath " << groksipath << " wantsf " <<
317
           wantsfile << " wantsparentf " << wantsparentfile << "\n");
319
           wantsfile << " wantsparentf " << wantsparentfile << "\n");
318
320
...
...
449
    QString msg = tr("Executing: [") + 
451
    QString msg = tr("Executing: [") + 
450
        QString::fromUtf8(prcmd.c_str()) + "]";
452
        QString::fromUtf8(prcmd.c_str()) + "]";
451
    stb->showMessage(msg, 10000);
453
    stb->showMessage(msg, 10000);
452
    }
454
    }
453
455
454
    if (!enterHistory)
456
    if (enterHistory)
455
  historyEnterDoc(g_dynconf, doc.meta[Rcl::Doc::keyudi]);
457
  historyEnterDoc(rcldb, g_dynconf, doc);
456
    
458
    
457
    // Do the zeitgeist thing
459
    // Do the zeitgeist thing
458
    zg_send_event(ZGSEND_OPEN, doc);
460
    zg_send_event(ZGSEND_OPEN, doc);
459
461
460
    // We keep pushing back and never deleting. This can't be good...
462
    // We keep pushing back and never deleting. This can't be good...