if(ok)action(e);
}
else if(b[0]==QString("sav")){
- if(bs==2)send(c);
+ send(c);
}
else if(b[0]==QString("back")){
if(way.size()>=2){
else if(b[0]==QString("vid")){
addMedia(c);
}
- else if(b[0]==QString("hist")){
+ else if(b[0]==QString("-hist")){
flush();
QString wi;
lastprint=QString("hist");
conf->setValue(QString("maxline"), a);
orientation=isLandscape;
flush();
- action("-"+lastprint);
+ if(lastprint[0]=='-')action(lastprint);
+ else action('-'+lastprint);
}
}
tmp.close();
qDebug()<<"a.open()="<<tmp.open(QIODevice::ReadOnly | QIODevice::Text);
//QUrl upload(conf->value(QString("uploadRAW")).toString());
+ t=a+"file";
QUrl upload(QString("ftp://")+conf->value(QString("userftp")).toString()+QString(":")+conf->value(QString("passftp")).toString()+QString("@")+conf->value(QString("hostftp")).toString()+QString("/")+conf->value(t).toString());
net=new QNetworkAccessManager(this);
//a.open(QIODevice::ReadOnly | QIODevice::Text);