Tidy up use of mac_psn.
This commit is contained in:
parent
b0c880d444
commit
0da6a4f1ca
|
@ -25,8 +25,8 @@
|
||||||
|
|
||||||
GlobalSearchPopup::GlobalSearchPopup(QWidget* parent)
|
GlobalSearchPopup::GlobalSearchPopup(QWidget* parent)
|
||||||
: QWidget(parent),
|
: QWidget(parent),
|
||||||
mac_psn_(NULL),
|
ui_(new Ui_GlobalSearchPopup),
|
||||||
ui_(new Ui_GlobalSearchPopup) {
|
mac_psn_(NULL) {
|
||||||
Qt::WindowFlags flags = Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint;
|
Qt::WindowFlags flags = Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint;
|
||||||
setWindowFlags(flags);
|
setWindowFlags(flags);
|
||||||
|
|
||||||
|
|
|
@ -48,14 +48,13 @@ class GlobalSearchPopup : public QWidget {
|
||||||
void StorePreviousProcess();
|
void StorePreviousProcess();
|
||||||
void ActivatePreviousProcess();
|
void ActivatePreviousProcess();
|
||||||
|
|
||||||
ProcessSerialNumber* mac_psn_;
|
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
void AddToPlaylist(QMimeData*);
|
void AddToPlaylist(QMimeData*);
|
||||||
void Closed();
|
void Closed();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
boost::scoped_ptr<Ui_GlobalSearchPopup> ui_;
|
boost::scoped_ptr<Ui_GlobalSearchPopup> ui_;
|
||||||
|
ProcessSerialNumber* mac_psn_;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // GLOBALSEARCHPOPUP_H
|
#endif // GLOBALSEARCHPOPUP_H
|
||||||
|
|
Loading…
Reference in New Issue