Author: sh-sh-sh Date: Fri Jan 25 11:43:06 2008 New Revision: 43900 URL: http://svn.opensuse.org/viewcvs/yast?rev=43900&view=rev Log: stray printf() %s formatters Modified: trunk/qt/src/YQComboBox.cc trunk/qt/src/YQPackageSelectorPlugin.cc trunk/qt/src/YQSelectionBox.cc trunk/qt/src/YQTable.cc trunk/qt/src/YQUI_builtins.cc Modified: trunk/qt/src/YQComboBox.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/YQComboBox.cc?rev=43900&r1=43899&r2=43900&view=diff ============================================================================== --- trunk/qt/src/YQComboBox.cc (original) +++ trunk/qt/src/YQComboBox.cc Fri Jan 25 11:43:06 2008 @@ -156,7 +156,7 @@ { if ( ! _qt_comboBox->isEditable() ) { - yuiWarning() << this << ": Setting ValidChars is useless on a combo box that isn't editable! (%s)" << endl; + yuiWarning() << this << ": Setting ValidChars is useless on a combo box that isn't editable!" << endl; return; } Modified: trunk/qt/src/YQPackageSelectorPlugin.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/YQPackageSelectorPlugin.cc?rev=43900&r1=43899&r2=43900&view=diff ============================================================================== --- trunk/qt/src/YQPackageSelectorPlugin.cc (original) +++ trunk/qt/src/YQPackageSelectorPlugin.cc Fri Jan 25 11:43:06 2008 @@ -63,7 +63,7 @@ } catch (const std::exception & e) { - yuiError() << "Caught std::exception: %s" << e.what() << endl; + yuiError() << "Caught std::exception: " << e.what() << endl; yuiError() << "This is a libzypp problem. Do not file a bug against the UI!" << endl; } catch (...) @@ -92,7 +92,7 @@ } catch (const std::exception & e) { - yuiError() << "Caught std::exception: %s" << e.what() << endl; + yuiError() << "Caught std::exception: " << e.what() << endl; yuiError() << "This is a libzypp problem. Do not file a bug against the UI!" << endl; } catch (...) @@ -121,7 +121,7 @@ } catch (const std::exception & e) { - yuiError() << "Caught std::exception: %s" << e.what() << endl; + yuiError() << "Caught std::exception: " << e.what() << endl; yuiError() << "This is a libzypp problem. Do not file a bug against the UI!" << endl; } catch (...) Modified: trunk/qt/src/YQSelectionBox.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/YQSelectionBox.cc?rev=43900&r1=43899&r2=43900&view=diff ============================================================================== --- trunk/qt/src/YQSelectionBox.cc (original) +++ trunk/qt/src/YQSelectionBox.cc Fri Jan 25 11:43:06 2008 @@ -105,7 +105,7 @@ icon = QPixmap( iconName.c_str() ); if ( icon.isNull() ) - yuiWarning() << "Can't load icon %s" << iconName << endl; + yuiWarning() << "Can't load icon " << iconName << endl; } if ( icon.isNull() ) Modified: trunk/qt/src/YQTable.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/YQTable.cc?rev=43900&r1=43899&r2=43900&view=diff ============================================================================== --- trunk/qt/src/YQTable.cc (original) +++ trunk/qt/src/YQTable.cc Fri Jan 25 11:43:06 2008 @@ -320,7 +320,7 @@ QPixmap icon = QPixmap( iconName.c_str() ); if ( icon.isNull() ) - yuiWarning() << "Can't load icon %s" << iconName << endl; + yuiWarning() << "Can't load icon " << iconName << endl; else setData( column, Qt::DecorationRole, icon ); } Modified: trunk/qt/src/YQUI_builtins.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/YQUI_builtins.cc?rev=43900&r1=43899&r2=43900&view=diff ============================================================================== --- trunk/qt/src/YQUI_builtins.cc (original) +++ trunk/qt/src/YQUI_builtins.cc Fri Jan 25 11:43:06 2008 @@ -64,7 +64,7 @@ } catch (const std::exception & e) { - yuiError() << "Caught std::exception: %s" << e.what() << "\n" + yuiError() << "Caught std::exception: " << e.what() << "\n" << "This is a libzypp problem. Do not file a bug against the UI!" << endl; } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org