Browse Source

#include <QTextDocument> instead of Q3StyleSheet.

git-svn-id: file:///var/svn/tigccpp/trunk@1110 9552661e-59e3-4036-b4f2-dbe53926924f
kevinkofler 17 years ago
parent
commit
dad843e219
1 changed files with 4 additions and 4 deletions
  1. 4 4
      ktigcc/mainform.cpp

+ 4 - 4
ktigcc/mainform.cpp

@@ -87,7 +87,7 @@ class DnDListView : public K3ListView {
 #include <QFileInfo>
 #include <QDateTime>
 #include <QTextCodec>
-#include <Q3StyleSheet>
+#include <QTextDocument>
 #include <QTimer>
 #include <QToolButton>
 #include <Q3ListBox>
@@ -4767,9 +4767,9 @@ void MainForm::showStats()
   // KMessageBox also takes plain text, but it interprets \n as paragraph breaks
   // and always renders them as \n\n, no matter whether there is actually just
   // one, two or more than two \n characters. Thus the
-  // QStyleSheet::convertFromPlainText. Sadly, that replaces the spaces with
-  // strange non-BMP characters (from a Private Use Area) which don't display
-  // properly in KMessageBox, so fix up those surrogate pairs.
+  // Qt::convertFromPlainText. Sadly, that replaces the spaces with strange
+  // non-BMP characters (from a Private Use Area) which don't display properly
+  // in KMessageBox, so fix up those surrogate pairs.
   if (KMessageBox::questionYesNo(this,Qt::convertFromPlainText(
         QString("The project has been compiled successfully.\n\n%1\n"
         "Do you want to open the project folder?").arg(compileStats))