Verbose codepage fixed.

This commit is contained in:
cora32 2015-04-02 22:07:25 +03:00
parent 886fa0aa02
commit a17ba5a4b2
10 changed files with 1281 additions and 1016 deletions

View File

@ -36,7 +36,6 @@ void checkWeb(const char *fileName, std::string *oldLM) {
if(lm.compare(*oldLM) != 0) {
*oldLM = lm;
std::string res(buffer.substr(buffer.find("\r\n\r\n") + 4).c_str());
//std::replace(res.begin(), res.end(), '\r', '\n');
res.erase(std::remove(res.begin(), res.end(), '\r'), res.end());
std::ofstream out(fileName);
out << std::string(res);

View File

@ -22,10 +22,13 @@ void Threader::fireThread(std::string ip, void *func(void)) {
}
void Threader::cleanUp() {
ready = true;
cv.notify_one();
std::unique_lock<std::mutex> lk(m);
lk.unlock();
lk.release();
threadId = 0;
std::queue<std::string> empty = {};
std::swap(ipQueue, empty);
ready = false;
}

View File

@ -1 +0,0 @@


View File

@ -7,7 +7,7 @@ int main(int argc, char *argv[])
QApplication a(argc, argv);
QStringList list;
list << "Eurostile.ttf";
list << "small_font.ttf";
int fontID(-1);
bool fontWarningShown(false);
for (QStringList::const_iterator constIterator = list.constBegin(); constIterator != list.constEnd(); ++constIterator) {

View File

@ -1,6 +1,6 @@
<RCC>
<qresource prefix="/nesca_3">
<file>Eurostile.ttf</file>
<file>small_font.ttf</file>
<file>nesca.ico</file>
</qresource>
</RCC>

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

BIN
small_font.ttf Normal file

Binary file not shown.

View File

@ -1 +1 @@
24B82-836
24B82-89C