openbsd-ports/audio/last.fm/patches/patch-src_container_h
dcoppa ed80a78265 Update to last.fm 1.5.4.27091
Still happy with gcc 3.3.5

Tested on sparc64 and i386
2011-03-30 14:00:48 +00:00

45 lines
1.5 KiB
Plaintext

$OpenBSD: patch-src_container_h,v 1.2 2011/03/30 14:00:48 dcoppa Exp $
--- src/container.h.orig Wed Mar 30 13:25:59 2011
+++ src/container.h Wed Mar 30 13:28:01 2011
@@ -39,6 +39,7 @@ class Container : public QMainWindow
Q_OBJECT
static Container* s_instance;
+ friend class TrayIcon;
public:
Container();
@@ -51,7 +52,6 @@ class Container : public QMainWindow
std::vector<class CPluginInfo>& getPluginList();
public slots:
- void checkForUpdates( bool invokedByUser = true );
void showSettingsDialog( int startPage = 0 );
void showDiagnosticsDialog();
void showShareDialog();
@@ -80,7 +80,7 @@ class Container : public QMainWindow
bool event( QEvent* );
private:
- struct : Ui::MainWindow
+ struct tagui : Ui::MainWindow
{
class ScrobbleLabel* scrobbleLabel;
class RestStateWidget* restStateWidget;
@@ -108,6 +108,7 @@ class Container : public QMainWindow
class DiagnosticsDialog *m_diagnosticsDialog;
bool m_userCheck;
+ bool m_soundcardError;
bool m_sidebarEnabled;
int m_lastVolume;
int m_sidebarWidth;
@@ -162,7 +163,6 @@ class Container : public QMainWindow
void inviteAFriend();
void onUserSelected( QAction* action );
- void updateCheckDone( bool updatesAvailable, bool error, QString errorMsg );
void updateWindowTitle( const MetaData& );
void updateUserStuff( LastFmUserSettings& user );
void updateAppearance();