Monor structure tweaks
This commit is contained in:
parent
fb02f184ed
commit
3f0d2a135f
@ -531,7 +531,7 @@ void MainWindow::printMsg(const char* text)
|
||||
cursor.insertText(text);
|
||||
|
||||
ui->terminal->setTextCursor(cursor);
|
||||
;
|
||||
|
||||
}
|
||||
|
||||
void MainWindow::printMsg(QString text)
|
||||
@ -835,9 +835,9 @@ void MainWindow::updateFileProgress(FileProgress p)
|
||||
ui->pauseBtn->setEnabled(true);
|
||||
sending = true;
|
||||
}
|
||||
ui->filelines->setText(QString::number(p.P)
|
||||
ui->filelines->setText(QString::number(p.T)
|
||||
+ QString("/")
|
||||
+ QString::number(p.T)
|
||||
+ QString::number(p.P)
|
||||
+ QString(" Lines"));
|
||||
ui->progressBar->setValue(((float)p.P/p.T) * 100);
|
||||
}
|
||||
|
||||
@ -156,7 +156,7 @@ void Sender::setFile(QVector <QString> f)
|
||||
|
||||
void Sender::injectCommand(QString command)
|
||||
{
|
||||
userCommands.enqueue(command);
|
||||
if(userCommands.contains(command)) userCommands.enqueue(command);
|
||||
}
|
||||
|
||||
void Sender::recievedOkWait()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user