]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/QBranchDialog.C
enable Font cache only for MacOSX and inline width() for other platform.
[lyx.git] / src / frontends / qt4 / QBranchDialog.C
index 5283a28d660a7e16dfa2f39ac1115bb5f83669d0..b4e0725536e37a0077d27763f01652d6419544d5 100644 (file)
@@ -13,8 +13,7 @@
 #include "QBranchDialog.h"
 #include "QBranch.h"
 
-#include <qpushbutton.h>
-//Added by qt3to4:
+#include <QPushButton>
 #include <QCloseEvent>
 
 namespace lyx {
@@ -28,8 +27,8 @@ QBranchDialog::QBranchDialog(QBranch * form)
                form, SLOT(slotOK()));
        connect(closePB, SIGNAL(clicked()),
                form, SLOT(slotClose()));
-
-    connect( branchCO, SIGNAL( activated(int) ), this, SLOT( change_adaptor() ) );
+       connect(branchCO, SIGNAL( activated(int) ), 
+               this, SLOT( change_adaptor() ) );
 }
 
 
@@ -47,3 +46,5 @@ void QBranchDialog::change_adaptor()
 
 } // namespace frontend
 } // namespace lyx
+
+#include "QBranchDialog_moc.cpp"