Skip to content

Commit af6cc44

Browse files
Andrii BoichukAndrii Boichuk
authored andcommitted
Correcting spelling error
1 parent 83db886 commit af6cc44

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

inc/QtWebkitWebDriver.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ int main_server(int argc, char *argv[]);
2424
}
2525
#endif
2626

27-
/** @fn void regitsterView(std::string name)
27+
/** @fn void registerView(std::string name)
2828
* @brief register View for testing
2929
* @param[in] name factory name for this class type
3030
**/
3131
template <class T>
32-
void regitsterView(std::string name)
32+
void registerView(std::string name)
3333
{
3434
ViewFactory::GetInstance()->add<T>(name);
3535
}

src/Test/main.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ int main(int argc, char *argv[])
3939
QWebSettings::globalSettings()->setOfflineStoragePath("./web/html5");
4040
QWebSettings::globalSettings()->setOfflineWebApplicationCachePath("./web/html5");
4141

42-
regitsterView<QWebView>("QWebView");
43-
regitsterView<QWidget>("QWidget");
42+
registerView<QWebView>("QWebView");
43+
registerView<QWidget>("QWidget");
4444

4545
QFutureWatcher<int> watcher;
4646
QObject::connect(&watcher, SIGNAL(finished()), qApp, SLOT(quit()));

0 commit comments

Comments
 (0)