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:
parent
d57697460b
commit
e0548cdfe8
1 changed files with 6 additions and 6 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue