Changeset View
Changeset View
Standalone View
Standalone View
libs/ui/KisMainWindow.cpp
Show First 20 Lines • Show All 1961 Lines • ▼ Show 20 Line(s) | |||||
1962 | void KisMainWindow::setToolbarList(QList<QAction *> toolbarList) | 1962 | void KisMainWindow::setToolbarList(QList<QAction *> toolbarList) | ||
1963 | { | 1963 | { | ||
1964 | qDeleteAll(d->toolbarList); | 1964 | qDeleteAll(d->toolbarList); | ||
1965 | d->toolbarList = toolbarList; | 1965 | d->toolbarList = toolbarList; | ||
1966 | } | 1966 | } | ||
1967 | 1967 | | |||
1968 | void KisMainWindow::slotDocumentTitleModified(const QString &caption, bool mod) | 1968 | void KisMainWindow::slotDocumentTitleModified(const QString &caption, bool mod) | ||
1969 | { | 1969 | { | ||
1970 | updateCaption(); | ||||
1970 | updateCaption(caption, mod); | 1971 | updateCaption(caption, mod); | ||
1971 | updateReloadFileAction(d->activeView ? d->activeView->document() : 0); | 1972 | updateReloadFileAction(d->activeView ? d->activeView->document() : 0); | ||
1972 | } | 1973 | } | ||
1973 | 1974 | | |||
1974 | 1975 | | |||
1975 | void KisMainWindow::subWindowActivated() | 1976 | void KisMainWindow::subWindowActivated() | ||
1976 | { | 1977 | { | ||
1977 | bool enabled = (activeKisView() != 0); | 1978 | bool enabled = (activeKisView() != 0); | ||
▲ Show 20 Lines • Show All 427 Lines • Show Last 20 Lines |