mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-17 19:37:09 +02:00
Show search widget on qt 4.8
This commit is contained in:
1
src/libtomahawk/thirdparty/Qocoa/qocoa_mac.h
vendored
1
src/libtomahawk/thirdparty/Qocoa/qocoa_mac.h
vendored
@@ -45,6 +45,7 @@ static inline void zeroLayout(void *cocoaView, QWidget *parent)
|
||||
{
|
||||
QVBoxLayout *layout = new QVBoxLayout(parent);
|
||||
layout->setMargin(0);
|
||||
parent->setAttribute(Qt::WA_NativeWindow);
|
||||
layout->addWidget(new QMacCocoaViewContainer(cocoaView, parent));
|
||||
}
|
||||
|
||||
|
@@ -27,7 +27,7 @@ THE SOFTWARE.
|
||||
#include <QVBoxLayout>
|
||||
|
||||
#include "playlist/topbar/searchlineedit.h"
|
||||
#include "utils/tomahawkutilsgui.h"
|
||||
#include "utils/tomahawkutils.h"
|
||||
|
||||
class DLLEXPORT QSearchFieldPrivate
|
||||
{
|
||||
|
@@ -25,8 +25,6 @@ THE SOFTWARE.
|
||||
|
||||
#include "qocoa_mac.h"
|
||||
|
||||
#include "qsearchfield.h"
|
||||
|
||||
#import "Foundation/NSAutoreleasePool.h"
|
||||
#import "Foundation/NSNotification.h"
|
||||
#import "AppKit/NSSearchField.h"
|
||||
|
Reference in New Issue
Block a user