[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kde-workspace/plasma/sreich/sal-qml] plasma/netbook/containments/sal/shell: show the window on the
From:       Shaun Reich <shaun.reich () kdemail ! net>
Date:       2012-04-15 23:15:27
Message-ID: 20120415231527.BBDBEA60CB () git ! kde ! org
[Download RAW message or body]

Git commit 6500df1fddb2ad95061a1ac1cb11e92056a5d067 by Shaun Reich.
Committed on 12/04/2012 at 20:06.
Pushed by sreich into branch 'plasma/sreich/sal-qml'.

show the window on the dbus call

M  +1    -3    plasma/netbook/containments/sal/shell/fullview.cpp
M  +0    -1    plasma/netbook/containments/sal/shell/main.cpp

http://commits.kde.org/kde-workspace/6500df1fddb2ad95061a1ac1cb11e92056a5d067

diff --git a/plasma/netbook/containments/sal/shell/fullview.cpp \
b/plasma/netbook/containments/sal/shell/fullview.cpp index 5401aeb..a5a6f04 100644
--- a/plasma/netbook/containments/sal/shell/fullview.cpp
+++ b/plasma/netbook/containments/sal/shell/fullview.cpp
@@ -123,9 +123,6 @@ FullView::FullView(const QString &ff, const QString &loc, bool \
persistent, QWidg  m_view->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
     m_view->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
     m_view->setAlignment(Qt::AlignLeft | Qt::AlignTop);
-
-    hide();
-    m_view->hide();
 }
 
 void FullView::focusOutEvent ( QFocusEvent* event )
@@ -150,6 +147,7 @@ void FullView::showPopup(int screen)
     const QRect rect = w.availableGeometry(screen);
 
     setGeometry(rect);
+    show();
 }
 
 void FullView::keyPressEvent(QKeyEvent *event)
diff --git a/plasma/netbook/containments/sal/shell/main.cpp \
b/plasma/netbook/containments/sal/shell/main.cpp index 98ac1a9..c6187ff 100644
--- a/plasma/netbook/containments/sal/shell/main.cpp
+++ b/plasma/netbook/containments/sal/shell/main.cpp
@@ -309,7 +309,6 @@ themeFound:
     } else {
         kDebug() << "just load applet";
         view.addApplet("org.kde.sal", containment, wallpaper, appletArgs);
-        view.show();
     }
 
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic