diff --git a/src/rviz/visualizer_app.cpp b/src/rviz/visualizer_app.cpp index 62523ad53a..37cdecd01c 100644 --- a/src/rviz/visualizer_app.cpp +++ b/src/rviz/visualizer_app.cpp @@ -274,7 +274,7 @@ bool VisualizerApp::init( int argc, char** argv ) frame_->setHelpPath( QString::fromStdString( help_path )); } frame_->setShowChooseNewMaster( in_mc_wrapper ); - if( splash_path != "" ) + if( vm.count("splash-screen") ) { frame_->setSplashPath( QString::fromStdString( splash_path )); }