Mailinglist Archive: yast-commit (195 mails)

< Previous Next >
[yast-commit] r63532 - in /branches/SuSE-Code-11-SP1-Branch/qt: VERSION.cmake package/yast2-qt.changes src/YQApplication.cc
Author: tgoettlicher
Date: Tue Mar 8 16:29:15 2011
New Revision: 63532

URL: http://svn.opensuse.org/viewcvs/yast?rev=63532&view=rev
Log:
- Show block devices in file selection dialog (bnc #661685)
- V 2.18.14


Modified:
branches/SuSE-Code-11-SP1-Branch/qt/VERSION.cmake
branches/SuSE-Code-11-SP1-Branch/qt/package/yast2-qt.changes
branches/SuSE-Code-11-SP1-Branch/qt/src/YQApplication.cc

Modified: branches/SuSE-Code-11-SP1-Branch/qt/VERSION.cmake
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/qt/VERSION.cmake?rev=63532&r1=63531&r2=63532&view=diff
==============================================================================
--- branches/SuSE-Code-11-SP1-Branch/qt/VERSION.cmake (original)
+++ branches/SuSE-Code-11-SP1-Branch/qt/VERSION.cmake Tue Mar 8 16:29:15 2011
@@ -1,3 +1,3 @@
SET(VERSION_MAJOR "2")
SET(VERSION_MINOR "18")
-SET(VERSION_PATCH "13")
+SET(VERSION_PATCH "14")

Modified: branches/SuSE-Code-11-SP1-Branch/qt/package/yast2-qt.changes
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/qt/package/yast2-qt.changes?rev=63532&r1=63531&r2=63532&view=diff
==============================================================================
--- branches/SuSE-Code-11-SP1-Branch/qt/package/yast2-qt.changes (original)
+++ branches/SuSE-Code-11-SP1-Branch/qt/package/yast2-qt.changes Tue Mar 8
16:29:15 2011
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Mar 8 16:28:53 CET 2011 - tgoettlicher@xxxxxxx
+
+- Show block devices in file selection dialog (bnc #661685)
+- V 2.18.14
+
+-------------------------------------------------------------------
Fri Jan 14 11:37:21 CET 2011 - tgoettlicher@xxxxxxx

- Fixed hanging browse dialogs (bnc #580143)

Modified: branches/SuSE-Code-11-SP1-Branch/qt/src/YQApplication.cc
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/qt/src/YQApplication.cc?rev=63532&r1=63531&r2=63532&view=diff
==============================================================================
--- branches/SuSE-Code-11-SP1-Branch/qt/src/YQApplication.cc (original)
+++ branches/SuSE-Code-11-SP1-Branch/qt/src/YQApplication.cc Tue Mar 8
16:29:15 2011
@@ -487,12 +487,19 @@
{
normalCursor();

- QString fileName =
- QFileDialog::getOpenFileName( 0, //
parent
- fromUTF8( headline ) , //
caption
- fromUTF8( startWith ), // dir
- fromUTF8( filter ), //
filter
- 0, QFileDialog::DontUseNativeDialog);
+ QFileDialog* dialog = new QFileDialog( 0, //
parent
+ fromUTF8( headline ), //
caption
+ fromUTF8( startWith ), // dir
+ fromUTF8( filter ));
// filter
+ dialog->setFileMode( QFileDialog::ExistingFile );
+ dialog->setFilter( QDir::System | dialog->filter() );
+ dialog->setOptions( QFileDialog::DontUseNativeDialog );
+
+ QString fileName;
+ if(dialog->exec() == QDialog::Accepted)
+ fileName = dialog->selectedFiles().value(0);
+ delete dialog;
+
busyCursor();

return toUTF8( fileName );

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages