Skip to content

Commit

Permalink
clang-tidy, formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
aliakseis committed Mar 24, 2022
1 parent 36a927e commit 07728f6
Show file tree
Hide file tree
Showing 8 changed files with 896 additions and 674 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

# QtCreator supports the following variables for Android, which are identical to qmake Android variables.
Expand Down
8 changes: 4 additions & 4 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ int main(int argc, char *argv[])
{
QApplication a(argc, argv);

a.setApplicationName("segmentation-depthmap-3d-opencv");
a.setOrganizationName("AbsurdePhoton");
a.setOrganizationDomain("www.absurdephoton.fr");
QApplication::setApplicationName("segmentation-depthmap-3d-opencv");
QApplication::setOrganizationName("AbsurdePhoton");
QApplication::setOrganizationDomain("www.absurdephoton.fr");

MainWindow w;
w.readPositionSettings();
w.show();

return a.exec();
return QApplication::exec();
}
774 changes: 460 additions & 314 deletions mainwindow.cpp

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion mainwindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ private slots:
void on_listWidget_labels_currentItemChanged(QListWidgetItem *currentItem); // show current label color when item change

//// load & save
void ChangeBaseDir(QString filename); // Set base dir and file
void ChangeBaseDir(const QString& filename); // Set base dir and file
void SaveDirBaseFile(); // just to keep the last open dir

void DisableGUI();
Expand Down
Loading

0 comments on commit 07728f6

Please sign in to comment.