Skip to content
Snippets Groups Projects
Commit 65e9b6d0 authored by Joel Vongehr's avatar Joel Vongehr
Browse files

removed some old unnecessary changes

parent 2afcd363
Branches
Tags
No related merge requests found
......@@ -44,10 +44,7 @@
namespace turtlesim
{
TurtleFrame::TurtleFrame(QWidget* parent, Qt::WindowFlags f):
TurtleFrame("rectangle", parent, f) {}
TurtleFrame::TurtleFrame(std::string shape, QWidget* parent, Qt::WindowFlags f)
TurtleFrame::TurtleFrame(QWidget* parent, Qt::WindowFlags f)
: QFrame(parent, f)
, path_image_(FRAME_WIDTH, FRAME_HEIGHT, QImage::Format_ARGB32)
, path_painter_(&path_image_)
......
......@@ -66,7 +66,6 @@ int main(int argc, char** argv)
3: path to log
*/
TurtleApp app(argc, argv);
std::string shape = argv[1];
return app.exec(shape);
return app.exec();
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment