Fix Qt compile
This commit is contained in:
@@ -78,9 +78,7 @@ SET( CANTATA_MOC_HDRS
|
||||
gui/streamspage.h
|
||||
gui/infopage.h
|
||||
gui/streamdialog.h
|
||||
gui/interfacesettings.h
|
||||
gui/playbacksettings.h
|
||||
gui/serversettings.h
|
||||
gui/outputsettings.h
|
||||
gui/preferencesdialog.h
|
||||
models/musiclibrarymodel.h
|
||||
@@ -91,9 +89,7 @@ SET( CANTATA_MOC_HDRS
|
||||
models/playlisttableproxymodel.h
|
||||
models/dirviewmodel.h
|
||||
models/dirviewproxymodel.h
|
||||
models/streamsproxymodel.h
|
||||
mpd/mpdconnection.h
|
||||
mpd/song.h
|
||||
widgets/fancytabwidget.h
|
||||
widgets/treeview.h
|
||||
lyrics/lyricspage.h
|
||||
|
||||
@@ -41,11 +41,7 @@ StreamDialog::StreamDialog(QWidget *parent)
|
||||
: QDialog(parent)
|
||||
#endif
|
||||
{
|
||||
#ifdef ENABLE_KDE_SUPPORT
|
||||
QWidget *wid = new QWidget(this);
|
||||
#else
|
||||
QWidget *wid = this;
|
||||
#endif
|
||||
QFormLayout *layout=new QFormLayout(wid);
|
||||
|
||||
nameEntry=new LineEdit(wid);
|
||||
@@ -75,7 +71,6 @@ StreamDialog::StreamDialog(QWidget *parent)
|
||||
mainLayout->addWidget(wid);
|
||||
buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok|QDialogButtonBox::Cancel, Qt::Horizontal, this);
|
||||
mainLayout->addWidget(buttonBox);
|
||||
connect(buttonBox, SIGNAL(clicked(QAbstractButton *)), this, SLOT(buttonPressed(QAbstractButton *)));
|
||||
connect(buttonBox, SIGNAL(accepted()), this, SLOT(accept()));
|
||||
connect(buttonBox, SIGNAL(rejected()), this, SLOT(reject()));
|
||||
buttonBox->button(QDialogButtonBox::Ok)->setEnabled(false);
|
||||
|
||||
Reference in New Issue
Block a user