1
0
Fork 0
mirror of https://github.com/thoughtbot/capybara-webkit synced 2023-03-27 23:22:28 -04:00
capybara-webkit/src/SetSkipImageLoading.cpp
2012-05-29 22:23:02 -04:00

12 lines
371 B
C++

#include "SetSkipImageLoading.h"
#include "WebPage.h"
#include "WebPageManager.h"
SetSkipImageLoading::SetSkipImageLoading(WebPageManager *manager, QStringList &arguments, QObject *parent) :
Command(manager, arguments, parent) {
}
void SetSkipImageLoading::start() {
page()->setSkipImageLoading(arguments().contains("true"));
emit finished(new Response(true));
}