[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kdelibs/frameworks] kdeui/dialogs: Port away from KDialog
From:       Kevin Ottens <ervin+bluesystems () kde ! org>
Date:       2012-12-13 17:14:01
Message-ID: 20121213171401.0A01BA60EA () git ! kde ! org
[Download RAW message or body]

Git commit 44157b2dfa55ec7c2941b4e959f489bf7db6d03f by Kevin Ottens.
Committed on 13/12/2012 at 13:39.
Pushed by ervin into branch 'frameworks'.

Port away from KDialog

Actually possible because of upcoming changes in Qt:
https://codereview.qt-project.org/#change,29254

M  +1    -2    kdeui/dialogs/kdeprintdialog.cpp

http://commits.kde.org/kdelibs/44157b2dfa55ec7c2941b4e959f489bf7db6d03f

diff --git a/kdeui/dialogs/kdeprintdialog.cpp b/kdeui/dialogs/kdeprintdialo=
g.cpp
index fcfe7ac..4f1c8b7 100644
--- a/kdeui/dialogs/kdeprintdialog.cpp
+++ b/kdeui/dialogs/kdeprintdialog.cpp
@@ -30,7 +30,6 @@
 #endif
 =

 #include "kdebug.h"
-#include "kdialog.h"
 #include "klocalizedstring.h"
 #include "kdeversion.h"
 =

@@ -72,7 +71,7 @@ QPrintDialog *KdePrint::createPrintDialog(QPrinter *print=
er,
     foreach( QWidget* w, customTabs ) // reparent to avoid leaks
         w->setParent( dialog );
 #endif
-    dialog->setWindowTitle( KDialog::makeStandardCaption( i18nc( "@title:w=
indow", "Print" ) ) );
+    dialog->setWindowTitle( i18nc( "@title:window", "Print" ) );
     return dialog;
 }
 =


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic