Use inline methods for Editor's js/webView getters
diff --git a/consumers/corinthia/src/Editor.cpp b/consumers/corinthia/src/Editor.cpp
index 734edaf..db6b9b9 100644
--- a/consumers/corinthia/src/Editor.cpp
+++ b/consumers/corinthia/src/Editor.cpp
@@ -241,16 +241,6 @@
delete _js;
}
-QWebView *Editor::webView() const
-{
- return _webView;
-}
-
-JSInterface *Editor::js() const
-{
- return _js;
-}
-
void Editor::webViewloadFinished(bool ok)
{
qStdOut() << "webViewloadFinished: ok = " << ok << endl;
diff --git a/consumers/corinthia/src/Editor.h b/consumers/corinthia/src/Editor.h
index 074894a..8019ff2 100644
--- a/consumers/corinthia/src/Editor.h
+++ b/consumers/corinthia/src/Editor.h
@@ -52,8 +52,8 @@
public:
Editor(QWidget *parent = 0, Qt::WindowFlags f = 0);
virtual ~Editor();
- QWebView *webView() const;
- JSInterface *js() const;
+ QWebView *webView() const { return _webView; }
+ JSInterface *js() const { return _js; }
Cursor *cursor() const { return _cursor; }
public slots: