Fix compilation.
This commit is contained in:
parent
90020f7655
commit
8eed51a9a8
@ -60,7 +60,7 @@ void TabWidget::setupMainMenuButton() {
|
||||
setCornerWidget(m_menuButton, Qt::TopLeftCorner);
|
||||
}
|
||||
|
||||
bool TabWidget::openMainMenu() {
|
||||
void TabWidget::openMainMenu() {
|
||||
if (m_mainMenu == NULL) {
|
||||
m_mainMenu = new QMenu(tr("Main menu"), this);
|
||||
m_mainMenu->addMenu(FormMain::instance()->m_ui->m_menuFile);
|
||||
|
@ -102,7 +102,7 @@ class TabWidget : public QTabWidget {
|
||||
bool closeTab(int index);
|
||||
bool closeCurrentTab();
|
||||
|
||||
bool openMainMenu();
|
||||
void openMainMenu();
|
||||
|
||||
// Closes all "closable" tabs except the active tab.
|
||||
void closeAllTabsExceptCurrent();
|
||||
|
Loading…
x
Reference in New Issue
Block a user