1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-25 17:25:13 +03:00

cpplint doesn't complain about mainwindow.cpp

This commit is contained in:
bsongis 2014-02-26 15:28:03 +01:00
parent d57697460b
commit e0548cdfe8

View file

@ -1558,10 +1558,10 @@ QAction * MainWindow::addAct(QString icon, QString sName, QString lName, const c
QAction * MainWindow::addAct(QActionGroup *aGroup, QString sName, QString lName, const char *slot)
{
QAction *action = addAct("", sName, lName, QKeySequence::UnknownKey, slot);
action->setCheckable(true);
aGroup->addAction(action);
return action;
QAction *action = addAct("", sName, lName, QKeySequence::UnknownKey, slot);
action->setCheckable(true);
aGroup->addAction(action);
return action;
}
void MainWindow::createActions()
@ -1884,7 +1884,7 @@ void MainWindow::setActiveSubWindow(QWidget *window)
}
void MainWindow::updateRecentFileActions()
{
{
int i, numRecentFiles;
// Hide all document slots
@ -1995,7 +1995,7 @@ for (i=0; i<MAX_PROFILES && g.profile[i].existsOnDisk(); i++)
}
QString MainWindow::strippedName(const QString &fullFileName)
{
{
return QFileInfo(fullFileName).fileName();
}