mirror of
https://github.com/martinrotter/rssguard.git
synced 2024-12-27 08:33:27 +01:00
Cleanup.
This commit is contained in:
parent
cb3c4885c9
commit
a449f79747
@ -170,10 +170,6 @@ bool TabWidget::closeTab(int index) {
|
||||
}
|
||||
}
|
||||
|
||||
bool TabWidget::closeCurrentTab() {
|
||||
return closeTab(currentIndex());
|
||||
}
|
||||
|
||||
void TabWidget::closeAllTabsExceptCurrent() {
|
||||
// Close tabs after active tab.
|
||||
int index_of_active = currentIndex();
|
||||
|
@ -99,13 +99,9 @@ class TabWidget : public QTabWidget {
|
||||
void changeTitle(int index, const QString &new_title);
|
||||
void changeIcon(int index, const QIcon &new_icon);
|
||||
|
||||
// Closes tab with given index and deletes contained widget.
|
||||
// Tab closing.
|
||||
bool closeTab(int index);
|
||||
bool closeCurrentTab();
|
||||
|
||||
// Closes all "closable" tabs except the active tab.
|
||||
void closeAllTabsExceptCurrent();
|
||||
|
||||
void closeAllTabs();
|
||||
|
||||
// Opens main menu.
|
||||
|
Loading…
Reference in New Issue
Block a user