Commit adb7daac authored by Will Entriken's avatar Will Entriken

use kguiitem(qstring) explicitly

thanks: Thomas Friedrichsmeier

svn path=/trunk/KDE/kdeedu/kmplot/; revision=583686
parent 52010cd2
......@@ -206,7 +206,7 @@ void KParameterEditor::cmdImport_clicked()
KIO::NetAccess::removeTempFile( tmpfile );
return;
}
else if (KMessageBox::warningYesNo(this,i18n("Would you like to be informed about other lines that cannot be read?"), QString(), i18n("Get Informed"), i18n("Ignore Information") ) == KMessageBox::No)
else if (KMessageBox::warningYesNo(this,i18n("Would you like to be informed about other lines that cannot be read?"), QString(), KGuiItem(i18n("Get Informed")), KGuiItem(i18n("Ignore Information")) ) == KMessageBox::No)
verbose = true;
}
}
......
......@@ -471,7 +471,7 @@ void MainDlg::slotSave()
if ( oldfileversion)
{
if ( KMessageBox::warningContinueCancel( m_parent, i18n( "This file is saved with an old file format; if you save it, you cannot open the file with older versions of KmPlot. Are you sure you want to continue?" ), QString(), i18n("Save New Format") ) == KMessageBox::Cancel)
if ( KMessageBox::warningContinueCancel( m_parent, i18n( "This file is saved with an old file format; if you save it, you cannot open the file with older versions of KmPlot. Are you sure you want to continue?" ), QString(), KGuiItem(i18n("Save New Format")) ) == KMessageBox::Cancel)
return;
}
kmplotio->save( m_url );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment