Updated gitignore

This commit is contained in:
corne lukken 2015-05-27 11:08:47 +02:00
parent 4ec97af590
commit c8f76addc3
2 changed files with 11 additions and 3 deletions

7
.gitignore vendored
View File

@ -1,3 +1,10 @@
CMakeCache.txt
CMakeFiles/
Makefile
cmake_install.cmake
compile_commands.json
nbproject/
x64/
cmake_build/ cmake_build/
cmake_build_msvc/ cmake_build_msvc/
dist/ dist/

View File

@ -86,8 +86,9 @@ bool CubicSDR::OnInit() {
std::cout << "Chosen: " << devId << std::endl; std::cout << "Chosen: " << devId << std::endl;
sdrThread->setDeviceId(devId); sdrThread->setDeviceId(devId);
} else { }
OnMessage("no devices found!", "warning"); else if(devs.size() == 0) {
wxGetApp().OnMessage("No devices found!", "warning");
} }
t_PostSDR = new std::thread(&SDRPostThread::threadMain, sdrPostThread); t_PostSDR = new std::thread(&SDRPostThread::threadMain, sdrPostThread);