Commits

Rui Abreu Ferreira  committed aa26bb4

Remove old comments from NeovimQt::Gui

  • Participants
  • Parent commits ddd2242
  • Branches tb-gui

Comments (0)

Files changed (2)

File src/gui/gui.cpp

 Gui::Gui(NeovimConnector *n, QObject *parent)
 :BaseGui(n, parent)
 {
-	// FIXME: root widget, margins, etc
 	m_widget = new QSplitter();
 }
 
 void Gui::handleRedrawLayout(const QVariantMap& m)
 {
 	QString type = m.value("type").toString();
-	// FIXME: remove layout
-	/*
-	if (type == "column") {
-		m_root_layout = new QVBoxLayout(m_widget);
-		foreach(const QVariant v, m.value("children").toList()) {
-			handleRedrawLayout(v.toMap(), m_root_layout);
-		}
-	} else if (type == "row") {
-		m_root_layout = new QHBoxLayout(m_widget);
-		foreach(const QVariant v, m.value("children").toList()) {
-			handleRedrawLayout(v.toMap(), m_root_layout);
-		}
-	} else if (type == "leaf") {
-		handleRedrawLayout(m, m_root_layout);	
-	}*/
-
 	handleRedrawLayout(m, m_widget);	
 	m_widget->show();
 }

File src/gui/gui.h

 
 private:
 	void handleRedrawLayout(const QVariantMap& arg, QSplitter *);
-	// FIXME
 	QSplitter *m_widget;
 	QHash<uint64_t,WindowWidget*> m_windows;
 };