mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-08 08:32:31 -06:00
Make use of QT_VERSION define instead of using our own define
This commit is contained in:
@@ -64,7 +64,7 @@ private:
|
||||
SupportedEngines *supported_engines;
|
||||
QTimer *searchTimeout;
|
||||
QPointer<SearchTab> currentSearchTab;
|
||||
#ifndef QT_4_5
|
||||
#if QT_VERSION < 0x040500
|
||||
QPushButton *closeTab_button;
|
||||
#endif
|
||||
QList<QPointer<SearchTab> > all_tab; // To store all tabs
|
||||
@@ -106,10 +106,10 @@ protected slots:
|
||||
// Search slots
|
||||
void tab_changed(int);//to prevent the use of the download button when the tab is empty
|
||||
void on_search_button_clicked();
|
||||
#ifdef QT_4_5
|
||||
void closeTab(int index);
|
||||
#else
|
||||
#if QT_VERSION < 0x040500
|
||||
void closeTab_button_clicked();
|
||||
#else
|
||||
void closeTab(int index);
|
||||
#endif
|
||||
void appendSearchResult(QString line);
|
||||
void searchFinished(int exitcode,QProcess::ExitStatus);
|
||||
|
||||
Reference in New Issue
Block a user