Commit 0bb330fd authored by Felix Paul Kühne's avatar Felix Paul Kühne

qt4: fixed search field compilation for Mac and s/Carbon/Cocoa

Note that Carbon code isn't supported in 64bit applications...
parent 11a89704
...@@ -27,10 +27,9 @@ ...@@ -27,10 +27,9 @@
#ifndef _SEARCHLINEEDIT_H_ #ifndef _SEARCHLINEEDIT_H_
#define _SEARCHLINEEDIT_H_ #define _SEARCHLINEEDIT_H_
#import "../qt4.hpp"
#include <QLineEdit> #include <QLineEdit>
#include <qt4.hpp>
#if HAS_QT47 #if HAS_QT47
class ClickLineEdit : public QLineEdit class ClickLineEdit : public QLineEdit
{ {
......
...@@ -29,11 +29,11 @@ ...@@ -29,11 +29,11 @@
** **
****************************************************************************/ ****************************************************************************/
#include "util/searchlineedit.hpp" #include "searchlineedit.hpp"
#ifdef Q_WS_MAC #ifdef Q_WS_MAC
#include <Carbon/Carbon.h> #include <Cocoa/Cocoa.h>
//![0] //![0]
SearchLineEdit::SearchLineEdit(QWidget *parent) SearchLineEdit::SearchLineEdit(QWidget *parent)
......
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