Compile error in toolbar.cpp?