kopia lustrzana https://gitlab.com/eliggett/wfview
Fix some old warnings
rodzic
32528a02b8
commit
6199c648c1
2
main.cpp
2
main.cpp
|
@ -155,7 +155,7 @@ int main(int argc, char *argv[])
|
|||
signal(SIGTERM, cleanup);
|
||||
signal(SIGKILL, cleanup);
|
||||
#endif
|
||||
w = new servermain(settingsFile, logFilename);
|
||||
w = new servermain(settingsFile);
|
||||
#else
|
||||
a.setWheelScrollLines(1); // one line per wheel click
|
||||
wfmain w(settingsFile, logFilename, debugMode);
|
||||
|
|
|
@ -60,7 +60,7 @@ void selectRadio::setInUse(quint8 radio, quint8 busy, QString user, QString ip)
|
|||
|
||||
void selectRadio::on_table_cellClicked(int row, int col) {
|
||||
qInfo() << "Clicked on " << row << "," << col;
|
||||
#if (QT_VERSION < QT_VERSION_CHECK(6,0,0))
|
||||
#if (QT_VERSION < QT_VERSION_CHECK(5,11,0))
|
||||
if (ui->table->item(row, col)->backgroundColor() != Qt::darkGreen) {
|
||||
#else
|
||||
if (ui->table->item(row, col)->background() != Qt::darkGreen) {
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
// This code is copyright 2017-2020 Elliott H. Liggett
|
||||
// All rights reserved
|
||||
|
||||
servermain::servermain(const QString settingsFile, const QString logFile)
|
||||
servermain::servermain(const QString settingsFile)
|
||||
{
|
||||
|
||||
qRegisterMetaType <udpPreferences>(); // Needs to be registered early.
|
||||
|
|
|
@ -46,7 +46,7 @@ class servermain : public QObject
|
|||
Q_OBJECT
|
||||
|
||||
public:
|
||||
servermain(const QString logFile, const QString settingsFile);
|
||||
servermain(const QString logFile);
|
||||
~servermain();
|
||||
|
||||
signals:
|
||||
|
|
Ładowanie…
Reference in New Issue