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

List:       kde-commits
Subject:    [plasma-mediacenter] shells/newshell: give a default size
From:       Shantanu Tushar <shaan7in () gmail ! com>
Date:       2012-03-31 10:31:24
Message-ID: 20120331103124.DE87CA60A9 () git ! kde ! org
[Download RAW message or body]

Git commit f1ce03c0ae0cc29d09dcb5438ba16d1e4170e4bc by Shantanu Tushar.
Committed on 31/03/2012 at 12:30.
Pushed by shantanu into branch 'master'.

give a default size

M  +2    -0    shells/newshell/mainwindow.cpp

http://commits.kde.org/plasma-mediacenter/f1ce03c0ae0cc29d09dcb5438ba16d1e4170e4bc

diff --git a/shells/newshell/mainwindow.cpp b/shells/newshell/mainwindow.cpp
index b4ed230..d3ffa81 100644
--- a/shells/newshell/mainwindow.cpp
+++ b/shells/newshell/mainwindow.cpp
@@ -61,6 +61,8 @@ MainWindow::MainWindow(QWidget *parent) : KMainWindow(parent)
     m_structure = Plasma::PackageStructure::load("Plasma/Generic");
     Plasma::Package *package = new Plasma::Package(QString(), \
"org.kde.plasma.mediacenter", m_structure);  \
view->setSource(QUrl(package->filePath("mainscript"))); +
+    resize(1024, 768);
 }
 
 void MainWindow::toggleFullScreen()


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

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