~ubuntu-branches/debian/sid/qpdfview/sid

« back to all changes in this revision

Viewing changes to sources/mainwindow.cpp

  • Committer: Package Import Robot
  • Author(s): Benjamin Eltzner
  • Date: 2013-07-30 00:00:25 UTC
  • mfrom: (1.2.9)
  • Revision ID: package-import@ubuntu.com-20130730000025-lsj8rjj0brpaj5ve
Tags: 0.4.4-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1039
1039
{
1040
1040
    SettingsDialog* settingsDialog = new SettingsDialog(this);
1041
1041
 
 
1042
    settingsDialog->resize(s_settings->mainWindow().settingsDialogSize(settingsDialog->sizeHint()));
 
1043
 
1042
1044
    if(settingsDialog->exec() == QDialog::Accepted)
1043
1045
    {
1044
1046
        s_settings->sync();
1055
1057
        }
1056
1058
    }
1057
1059
 
 
1060
    s_settings->mainWindow().setSettingsDialogSize(settingsDialog->size());
 
1061
 
1058
1062
    delete settingsDialog;
1059
1063
}
1060
1064
 
1956
1960
    m_fileMenu = menuBar()->addMenu(tr("&File"));
1957
1961
    m_fileMenu->addActions(QList< QAction* >() << m_openAction << m_openInNewTabAction);
1958
1962
 
1959
 
    m_recentlyUsedMenu = new RecentlyUsedMenu(this);
 
1963
    m_recentlyUsedMenu = new RecentlyUsedMenu(s_settings->mainWindow().recentlyUsedCount(), this);
1960
1964
 
1961
1965
    if(s_settings->mainWindow().trackRecentlyUsed())
1962
1966
    {