aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2022-07-22 21:08:09 +0200
committerJan200101 <sentrycraft123@gmail.com>2022-07-22 21:57:39 +0200
commit1de8b89807222b5673505fea2bec1af4c0af8c7d (patch)
treef0b7a5e08013114a5b3f927d93caa8f674775fa9 /src/qt
parente4cff606fccdb7b8ac1c9bf5204a6b52e296bfe9 (diff)
downloadOFQT-1de8b89807222b5673505fea2bec1af4c0af8c7d.tar.gz
OFQT-1de8b89807222b5673505fea2bec1af4c0af8c7d.zip
Correct function prototypes,add more Cflags for sanity,add sanity assets
Diffstat (limited to 'src/qt')
-rw-r--r--src/qt/mainwindow.cpp3
-rw-r--r--src/qt/workers.cpp8
2 files changed, 11 insertions, 0 deletions
diff --git a/src/qt/mainwindow.cpp b/src/qt/mainwindow.cpp
index 15e5526..5bf013d 100644
--- a/src/qt/mainwindow.cpp
+++ b/src/qt/mainwindow.cpp
@@ -159,6 +159,9 @@ void MainWindow::workerResult(const enum Worker::Results_t& result)
QMessageBox::information(this, windowTitle(), "Steam is not running" );
break;
+ default:
+ assert(0);
+ break;
}
in_progress = false;
diff --git a/src/qt/workers.cpp b/src/qt/workers.cpp
index a66061d..5c20f0e 100644
--- a/src/qt/workers.cpp
+++ b/src/qt/workers.cpp
@@ -231,6 +231,10 @@ int Worker::update_setup(int local_rev, int remote_rev)
free(buf);
}
break;
+
+ default:
+ assert(0);
+ break;
}
}
@@ -334,6 +338,10 @@ void Worker::doWork(const enum Worker::Tasks_t &parameter) {
free(argv);
}
break;
+
+ default:
+ assert(0);
+ break;
}
emit resultReady(result);