mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
Merge remote-tracking branch 'check/cst-next'
Conflicts: src/daemonc/remotecontrol.cpp src/gui/luainstance.cpp src/gui/movieplayer.cpp src/gui/videosettings.cpp src/neutrino.cpp src/system/setting_helpers.cpp src/zapit/src/zapit.cpp
This commit is contained in:
@@ -65,6 +65,7 @@
|
||||
#include <gui/widget/hintbox.h>
|
||||
#include <gui/widget/stringinput.h>
|
||||
#include <gui/widget/stringinput_ext.h>
|
||||
#include <gui/widget/keyboard_input.h>
|
||||
|
||||
#include "gui/pictureviewer.h"
|
||||
extern CPictureViewer * g_PicViewer;
|
||||
@@ -2607,7 +2608,7 @@ void CAudioPlayerGui::savePlaylist()
|
||||
absPlaylistDir += file->getFileName();
|
||||
|
||||
const int filenamesize = 30;
|
||||
std::string filename;
|
||||
std::string filename = "playlist";
|
||||
|
||||
if (file->getType() == CFile::FILE_PLAYLIST)
|
||||
{
|
||||
@@ -2624,12 +2625,7 @@ void CAudioPlayerGui::savePlaylist()
|
||||
{
|
||||
// query for filename
|
||||
this->hide();
|
||||
CStringInputSMS filenameInput(LOCALE_AUDIOPLAYER_PLAYLIST_NAME,
|
||||
&filename,
|
||||
filenamesize - 1,
|
||||
LOCALE_AUDIOPLAYER_PLAYLIST_NAME_HINT1,
|
||||
LOCALE_AUDIOPLAYER_PLAYLIST_NAME_HINT2,
|
||||
"abcdefghijklmnopqrstuvwxyz0123456789-.,:!?/ ");
|
||||
CKeyboardInput filenameInput(LOCALE_AUDIOPLAYER_PLAYLIST_NAME, &filename, filenamesize - 1, NULL, NULL, LOCALE_AUDIOPLAYER_PLAYLIST_NAME_HINT1, LOCALE_AUDIOPLAYER_PLAYLIST_NAME_HINT2);
|
||||
filenameInput.exec(NULL, "");
|
||||
// refresh view
|
||||
this->paint();
|
||||
|
Reference in New Issue
Block a user