r17946 by jghali - Remove more use of ScMessageBox class

scribus-commit scribus-commit at lists.scribus.net
Sun Dec 9 23:42:02 UTC 2012


Author: jghali
Date: Sun Dec  9 23:42:01 2012
New Revision: 17946

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17946
Log:
Remove more use of ScMessageBox class

Modified:
    trunk/Scribus/scribus/ui/notesstyleseditor.cpp

Modified: trunk/Scribus/scribus/ui/notesstyleseditor.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17946&path=/trunk/Scribus/scribus/ui/notesstyleseditor.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/notesstyleseditor.cpp (original)
+++ trunk/Scribus/scribus/ui/notesstyleseditor.cpp Sun Dec  9 23:42:01 2012
@@ -7,7 +7,6 @@
 #include "scribusdoc.h"
 #include "scribusview.h"
 #include "scribus.h"
-#include "scmessagebox.h"
 #include "undomanager.h"
 
 NotesStylesEditor::NotesStylesEditor(QWidget *parent, const char *name)
@@ -361,8 +360,8 @@
 void NotesStylesEditor::on_DeleteButton_clicked()
 {
 	QString nsName = NSlistBox->currentText();
-	int t = ScMessageBox::warning(m_Doc->scMW(), QObject::tr("Attention! Deleting Notes Style"), "<qt>" +
-								 QObject::tr("You are going to delete notes style %1, but you must to know, that it deletes all notes inputs in notes frames and notes marks in text with that notes style.").arg(nsName) + "</qt>",
+	int t = QMessageBox::warning(m_Doc->scMW(), tr("Warning! Deleting Notes Style"), "<qt>" +
+								 tr("You are going to delete notes style %1. All notes and marks using that style are also going to be deleted.").arg(nsName) + "</qt>",
 								 QMessageBox::Ok, QMessageBox::Abort | QMessageBox::Default);
 	if (t == QMessageBox::Ok)
 	{




More information about the scribus-commit mailing list