mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Remove unused variables
This commit is contained in:
parent
f29724e404
commit
4126fc71c3
@ -41,7 +41,6 @@ GoToFlowToolBar::GoToFlowToolBar(QWidget *parent)
|
||||
edit->setValidator(v);
|
||||
edit->setAlignment(Qt::AlignRight | Qt::AlignVCenter);
|
||||
edit->setStyleSheet("QLineEdit {border: 1px solid #77000000; background: #55000000; color: white; padding: 3px 5px 5px 5px; margin: 13px 5px 12px 5px; font-weight:bold}");
|
||||
QPixmap p(":/images/imgEdit.png");
|
||||
edit->setFixedSize(54, 50);
|
||||
edit->setAttribute(Qt::WA_MacShowFocusRect, false);
|
||||
//edit->setAttribute(Qt::WA_LayoutUsesWidgetRect,true);
|
||||
|
@ -537,12 +537,6 @@ bool DataBaseManagement::importComicsInfo(QString source, QString dest)
|
||||
insert.bindValue(":read", 0);
|
||||
|
||||
insert.exec();
|
||||
|
||||
QString error1 = insert.lastError().databaseText();
|
||||
QString error2 = insert.lastError().driverText();
|
||||
|
||||
//QMessageBox::critical(NULL,"db",error1);
|
||||
//QMessageBox::critical(NULL,"driver",error2);
|
||||
}
|
||||
//update.finish();
|
||||
//insert.finish();
|
||||
|
@ -59,7 +59,6 @@ QList<QString> addresses()
|
||||
tmpAddrPtr = &((struct sockaddr_in *)ifa->ifa_addr)->sin_addr;
|
||||
char addressBuffer[INET_ADDRSTRLEN];
|
||||
inet_ntop(AF_INET, tmpAddrPtr, addressBuffer, INET_ADDRSTRLEN);
|
||||
QString add(addressBuffer);
|
||||
localAddreses.push_back(QString(addressBuffer));
|
||||
//printf("%s IP Address %s\n", ifa->ifa_name, addressBuffer);
|
||||
} else if (ifa->ifa_addr->sa_family == AF_INET6) { // check it is IP6
|
||||
@ -152,7 +151,6 @@ ServerConfigDialog::ServerConfigDialog(QWidget *parent)
|
||||
performanceWorkaroundCheck->setText(tr("display less information about folders in the browser\nto improve the performance"));
|
||||
performanceWorkaroundCheck->setStyleSheet("QCheckBox {color:#262626; font-size:13px; font-family: Arial;}");
|
||||
|
||||
QPalette Pal(palette());
|
||||
// set black background
|
||||
QPalette palette;
|
||||
QImage image(":/images/serverConfigBackground.png");
|
||||
|
Loading…
Reference in New Issue
Block a user