~adamreichold/qpdfview/automatic-decompression

« back to all changes in this revision

Viewing changes to sources/mainwindow.cpp

  • Committer: Adam Reichold
  • Date: 2017-01-04 14:24:28 UTC
  • Revision ID: adam.reichold@t-online.de-20170104142428-t1vw4hfi5py8ikgc
Also make the extended search dock visibility toggle action available in the main window context menu.

Show diffs side-by-side

added added

removed removed

Lines of Context:
356
356
    menu->addAction(m_thumbnailsDock->toggleViewAction());
357
357
    menu->addAction(m_bookmarksDock->toggleViewAction());
358
358
 
 
359
    if(s_settings->mainWindow().extendedSearchDock())
 
360
    {
 
361
        menu->addAction(m_searchDock->toggleViewAction());
 
362
    }
 
363
 
359
364
    return menu;
360
365
}
361
366