Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Molkentin <danimo@owncloud.com>2013-09-18 18:41:37 +0400
committerDaniel Molkentin <danimo@owncloud.com>2013-09-18 18:41:37 +0400
commit23fab90a310c5076837e12306a1b947aff49f908 (patch)
treeaed8878bf6dbf4c853dde2e7445c29bbf578ec75 /src
parent8fdf9cac6bab670b946506076783ba62480ad18b (diff)
_tray is a QPointer, not a QScopedPointer
Diffstat (limited to 'src')
-rw-r--r--src/mirall/application.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mirall/application.cpp b/src/mirall/application.cpp
index 21a637342..07a9e2dd9 100644
--- a/src/mirall/application.cpp
+++ b/src/mirall/application.cpp
@@ -353,7 +353,7 @@ void Application::setupSystemTray()
{
// Setting a parent heres will crash on X11 since by the time qapp runs
// its childrens dtors, the X11->screen variable queried for is gone -> crash
- _tray.reset(new Systray());
+ _tray = new Systray();
_tray->setIcon( _theme->syncStateIcon( SyncResult::NotYetStarted, true ) );
connect(_tray.data(), SIGNAL(activated(QSystemTrayIcon::ActivationReason)),